-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
Milestone
Description
Hello,
I am here to propose a new feature because I didn't find an easy solution to do it. I would like to have the Kafka group id be generated by Spring Kafka when I don't provide one, like for the annotation @StreamListener
in Spring Cloud Stream. It would be a nice feature when we have multiple instances of the same application and we want that each applications receive the same Kafka message.
In the following example, I would like that Spring Kafka generates for me the group id :
@KafkaListener(topics = "my-topic")
public void handleMessage(String message){
System.out.println(message);
}
Do you think this is a good idea ?