The EventConsumer allows consuming from multiple topics at the same time. When a message is successfully received (OnMessage event), the event handler will receive a Message struct with topic, partition, offset, payload, etc.
However when it fails (OnConsumerError event), the event handler only receives an ErrorCode, so it's difficult to correlate an error with the topic it was being consumed that caused it. Is this deliberate or would it make sense to pass both values to the event handler?
The EventConsumer allows consuming from multiple topics at the same time. When a message is successfully received (OnMessage event), the event handler will receive a Message struct with topic, partition, offset, payload, etc.
However when it fails (OnConsumerError event), the event handler only receives an ErrorCode, so it's difficult to correlate an error with the topic it was being consumed that caused it. Is this deliberate or would it make sense to pass both values to the event handler?
Thanks.