Using kafka connector sink but message recieved is thrice what was sent from producer under stats
I am publishing single message to a kafka topic which is connected to solace with kafka sink connector. When I see the stats of the message vpn I notice it shows 'client data messages' received as 3 times the messages I sent. 2 messages are showing in 'Incoming Message Discards'. Under the client connections > kafka stats, I can see these 2 messages showing under 'Message Discards' > 'No Subscription Match'.
What could be the issue here? Any pointers?
Best Answer
-
Check your topics, sol.topics and sol.queue properties in the solace.properties (or solace_sink_properties.json file if using the connector in distributed mode)
The default config, shown below, in the repo shows how to send the message from the "solacetest" topic in Kafka to 3 topics and one queue in solace which would explain why you're seeing message discards if you're only subscribing to one of them.topics=solacetest sol.topics=soltest, soltest1,solacetest2 sol.queue=testQ
6
Answers
-
Check your topics, sol.topics and sol.queue properties in the solace.properties (or solace_sink_properties.json file if using the connector in distributed mode)
The default config, shown below, in the repo shows how to send the message from the "solacetest" topic in Kafka to 3 topics and one queue in solace which would explain why you're seeing message discards if you're only subscribing to one of them.topics=solacetest sol.topics=soltest, soltest1,solacetest2 sol.queue=testQ
6