should we include the topic name and partition number in this exception, so the
calling code can check which topic or partition is missing?
```
try {
producer.send(.. args ..);
} catch (UnknownTopicOrPartitionException e) {
log.error("missing topic {} partition {}", e.topic(), e.partition())
}
```
also in this case we are very sure that the topic exists, but the partition
does not. do you think we should add a `UnknownPartitionException` here?
[ Full content available at: https://github.com/apache/kafka/pull/5507 ]
This message was relayed via gitbox.apache.org for [email protected]