kafka can use consumer.assign (partitions)
to subscribe to the API of the specified partition, spring kafka. Is there a corresponding method? I only found @ KafkaListener (topicPartitions = {@ TopicPartition (topic = "topic1", partitions = {"0", "1"})}
annotation, but when implemented in this way, the values of topic and partitions must be constant, but in fact, I need to determine that @ KafkaListener cannot be used according to the user"s id (get in operation). Is there any solution?
another: if you use the consumer.assign (partitions)
method, is it true that the partition.assignment.strategy
attribute will not take effect?