You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@samza.apache.org by GitBox <gi...@apache.org> on 2019/10/14 21:25:32 UTC

[GitHub] [samza] rmatharu commented on a change in pull request #1187: Notifying BEM about kafkaConsumerProxy failure to prevent BEM poll-blockin in case of proxy failures

rmatharu commented on a change in pull request #1187: Notifying BEM about kafkaConsumerProxy failure to prevent BEM poll-blockin in case of proxy failures
URL: https://github.com/apache/samza/pull/1187#discussion_r334669287
 
 

 ##########
 File path: samza-kafka/src/main/scala/org/apache/samza/system/kafka/KafkaConsumerProxy.java
 ##########
 @@ -204,6 +204,7 @@ private Runnable createProxyThreadRunnable() {
         // KafkaSystemConsumer uses the failureCause to propagate the throwable to the container
         failureCause = throwable;
         isRunning = false;
+        ((KafkaSystemConsumer) this.kafkaConsumer).setProxyFailureCause(this.failureCause);
 
 Review comment:
   it doesnt. need some way of giving KafkaConsumer proxy a handle to the SystemConsumer.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services