Please find below the code snippet:
properties file:
consumer.topic=FIRST,SECOND consumer.group=group1 Route.java:
from("kafka:{{kafka.url}}?topic={{consumer.topic}}&groupId={{consumer.group}}&autoOffsetReset=earliest&consumersCount={{consumer.consumersCount}}") The topics FIRST and SECOND are being considered as a single topic instead of being considered as two different ones. Can someone please help me by explaining how should they be configured in the properties file to be resolved as two?
LOG:
KafkaTopic[FIRST,SECOND]] Error while fetching metadata with correlation id 2159 : {FIRST,SECOND=INVALID_TOPIC_EXCEPTION}