-
Notifications
You must be signed in to change notification settings - Fork 483
Description
We are getting a lot of these error logs intermittently, when running KCL 3.x
Ideally, if its sleeping and retrying, we should log them as warn and not error, as this disappears after a while. This log as error doesn't really calls for action. Thoughts?
stack_trace: java.lang.IllegalStateException: LeaderDecider uninitialized at software.amazon.kinesis.leader.MigrationAdaptiveLeaderDecider.isLeader(MigrationAdaptiveLeaderDecider.java:49) at software.amazon.kinesis.coordinator.Scheduler.isLeader(Scheduler.java:593) at software.amazon.kinesis.coordinator.Scheduler.runProcessLoop(Scheduler.java:568) at software.amazon.kinesis.coordinator.Scheduler.run(Scheduler.java:460) at java.base/java.lang.Thread.run(Unknown Source)
Or its really a bad thing, because scheduler won't even start reading from kinesis until this passes? If that's the case we are seeing a lot of them