Hi,
I am new to Kafka implementation and using wM kafka adaper to consume messages from a Topic in Kafka(client side). What I noticed is, even if there are multiple messages present in topic, sometimes Listener/listnerNotification consumes 2 messages from the topic and sometimes 1 message at a time. On what criteria does a consumer fetch messages from Topic. Is there is any setting apart from Connection/Listner properties needs to be looked upon. Due to this behaviour there is issue coming in our code implementation. Below is snippet from server log:
Consumed {1} messages
AyncListenerNotification : runNotification() start
AsyncListenerNotification :: received msg count :1
Publishing for notification : started.
Publishing for notification : ended.
AyncListenerNotification : runNotification() end
Time taken to execute notifications in seconds:0
Consumed {2} messages
AyncListenerNotification : runNotification() start
AsyncListenerNotification :: received msg count :2
Publishing for notification : started.
Publishing for notification : ended.
AyncListenerNotification : runNotification() end
Time taken to execute notifications in seconds:0
Thanks & regards,
Garva
#kafka-adapter#Integration-Server-and-ESB#webMethods#Adapters-and-E-Standards