I am using the below ApacheCamel route, I want to create the topic dynamically in the Kafka instance. How can I do this?. I have already tried this method How to create topics in apache kafka? but still not able to create.
<route id="readInactiveRecordNotification">
<from uri="kafka:inactive.details" />
<log message="LDAP Poller: Received inactive record message for " />
<log message="LDAP Poller: Deleting inactive record uid=${headers.ldapRecordUid} and type="
loggingLevel="INFO" />
<log message="LDAP Poller: Deleted inactive record uid=${headers.ldapRecordUid} and type=${headers.ldapRecordType}"
loggingLevel="INFO" />
</route>
Output: I am getting below output, When I execute the Route