package com.sptg.device.api.stream;

import org.springframework.cloud.stream.annotation.Input;
import org.springframework.cloud.stream.annotation.Output;
import org.springframework.messaging.SubscribableChannel;

/**
 * title: DeviceUpdateProduceInterface
 * description: 设备更新消费者接口
 */
public interface DeviceUpdateReceiverInterface {

    String INPUT = "device_update_channel";

    /**
     * 输出管道
     * @return SubscribableChannel
     */
    @Input(value = INPUT)
    SubscribableChannel input();
}
