Anna Povzner created KAFKA-3303:
-----------------------------------
Summary: Pass partial record metadata to Interceptor
onAcknowledgement in case of errors
Key: KAFKA-3303
URL: https://issues.apache.org/jira/browse/KAFKA-3303
Project: Kafka
Issue Type: Improvement
Affects Versions: 0.10.0.0
Reporter: Anna Povzner
Assignee: Anna Povzner
Fix For: 0.10.0.0
Currently Interceptor.onAcknowledgement behaves similarly to Callback. If
exception occurred and exception is passed to onAcknowledgement, metadata param
is set to null.
However, it would be useful to pass topic, and partition if available to the
interceptor so that it knows which topic/partition got an error.
This is part of KIP-42.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)