...
But you can also plugin your own implementation and determine what to do using the pollStrategy
option which has more documentation here.
Notice that the option pollStrategy
applies for all consumers which is a ScheduledPollConsumer
consumer. The page lists those.
See also