We have a spring-boot application (spring-boot-starter-parent-2.0.0.RELEASE) using spring-cloud-starter-zipkin for writing "spans" to zipkin.
We use spring-integration too (through spring-boot-starter-integration) and we have added an integration flow with a PollableChannel to be used within a poller:
@Bean
public PollableChannel pollableChannel() {
return new QueueChannel(100);
}
@Bean
@ServiceActivator(poller = @Poller(taskExecutor="batchTaskExecutor"),
inputChannel= "pollableChannel")
public MyHandler myHandler() {
return new MyHandler();
}
Since adding this configuration, we are having an "asynch" span every second. It seems this span comes from the @Poller, checking whether there are items in the queue.
I'd like to know how to control this span. Is it possible to disable? Specially if there are no items.
Thanks in advance!