'Am trying to listen to all kafka partitions , in a Spring Boot app, and use the below code as documented in assign-all-parts, however i get the exception as below
java.lang.NumberFormatException: For input string: "*"
Is there any otherway to specify all partitions? Below is what 'am trying to use
@KafkaListener(topicPartitions
= @TopicPartition(topic = "${mytopic}", partitionOffsets = {
@PartitionOffset(partition = "*", initialOffset = "0")}),groupId ="${mygroup}",
containerFactory = "kafkaListenerContainerFactory")
public void consumeMessages(String message)