Is it possible to send List of CloudEventMessage as response of Spring cloud function triggered by knative trigger?
I am new to knative eventing. I am working with spring cloud functions that are triggered by knative triggers. Now if I am returning single CloudEventMessage from my function it is getting put into the source kafka broker. But my usecase requires me to publish n number of events. So, I tried sending a List as response, but this is flooding my kafka broker with empty list response. I want each CloudEventMessage in my list to be populated in the broker as separate event.