gresockj commented on code in PR #7529:
URL: https://github.com/apache/nifi/pull/7529#discussion_r1317050810
##########
nifi-nar-bundles/nifi-aws-bundle/nifi-aws-processors/src/main/java/org/apache/nifi/processors/aws/kinesis/stream/ConsumeKinesisStream.java:
##########
@@ -481,25 +525,25 @@ public void onScheduled(ProcessContext context) {
@Override
public void onTrigger(final ProcessContext context, final
ProcessSessionFactory sessionFactory) {
- if (worker == null) {
+ if (scheduler == null) {
synchronized (WORKER_LOCK) {
Review Comment:
You mean like `workerId` and `workerState`? I left these because the
library still refers to them by the same name.
--
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]