Abstracting Spring Cloud Stream Producer and Consumer code
问题 I have a Service that is Producing and Consuming messages from different Spring Cloud Stream Channels (bound to EventHub/Kafka topics). There are several such Services which are setup similarly. The configuration looks like below public interface MessageStreams { String WORKSPACE = "workspace"; String UPLOADNOTIFICATION = "uploadnotification"; String BLOBNOTIFICATION = "blobnotification"; String INGESTIONSTATUS = "ingestionstatusproducer"; @Input(WORKSPACE) SubscribableChannel