pvillard31 commented on code in PR #11050:
URL: https://github.com/apache/nifi/pull/11050#discussion_r3000535339


##########
nifi-extension-bundles/nifi-aws-bundle/nifi-aws-kinesis/src/main/java/org/apache/nifi/processors/aws/kinesis/PollingKinesisClient.java:
##########
@@ -65,6 +65,7 @@ final class PollingKinesisClient extends 
KinesisConsumerClient {
     private final Semaphore queuePermits = new Semaphore(MAX_QUEUED_RESULTS, 
true);
     private final long emptyShardBackoffNanos;
     private final long errorBackoffNanos;
+    private volatile boolean closed;

Review Comment:
   Yes good point, that's cleaner



-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to