- <init>
- run
Start consuming data from the stream, and pass it to the application record
processors.
- shutdown
Signals worker to shutdown. Worker will try initiating shutdown of all record
processors. Note that
- buildConsumer
- cleanupShardConsumers
NOTE: This method is internal/private to the Worker class. It has package access
solely for testing.
- createGracefulShutdownCallable
Creates a callable that will execute the graceful shutdown process. This
callable can be used to exe
- createOrGetShardConsumer
NOTE: This method is internal/private to the Worker class. It has package access
solely for testing.
- createWorkerShutdownCallable
- finalShutdown
Perform final shutdown related tasks for the worker including shutting down
worker owned executor se
- getExecutorService
Returns default executor service that should be used by the worker.
- getMetricsFactory
Given configuration, returns appropriate metrics factory.
- getShardInfoForAssignments