azure-event-hubs-for-kafka
azure-event-hubs-for-kafka copied to clipboard
callback function is not called in case of a producer error
If the message is delivered successfully then the callback function is called. Otherwise the error is hidden (in my case it is that the Event Hubs whitelist)
https://github.com/Azure/azure-event-hubs-for-kafka/blob/75d0b301431cb3b96e5aa2a27b48cebd08c1555b/quickstart/python/producer.py#L37