Github user siyuanh commented on a diff in the pull request:
https://github.com/apache/apex-malhar/pull/321#discussion_r67774397
--- Diff:
kafka/src/main/java/org/apache/apex/malhar/kafka/KafkaConsumerWrapper.java ---
@@ -129,6 +130,11 @@ public void
emitImmediately(Map<AbstractKafkaPartitioner.PartitionMeta, Pair<Lon
if (meta.getTopicPartition().equals(tp)) {
kc.resume(tp);
} else {
+ try {
--- End diff --
Why do we need to catch the exception here? It will always reposition some
partition to the beginning which is not correct
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---