package com.sptg.device.api.stream;

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

/**
 * title: DeviceAddReceiverInterface
 * description: 设备添加消费者接口
 */
public interface DeviceAddReceiverInterface {

    String INPUT = "device_add_channel_input";

    /**
     * 读取消息
     * @return SubscribableChannel
     */
    @Input(value = INPUT)
    SubscribableChannel input();
}
