I've the problem that my topology start no __acker task. Thus the topology.max.spout.pending setting is ignored. I set up the following values:
topology.acker.executors 1
topology.acker.tasks 1
topology.max.spout.pending 100
Also there is one free executor available for the __acker task. I've attached the screenshot of storm's ui...
I think I have the code right. This way the spout emits tuples:
this.collector.emit(new Values(this.data[this.nextItem], System.currentTimeMillis()), this.msgID);
This way they intermediate bolt passes tuples:
this.collector.emit(input, new Values(data, time, prime));
this.collector.ack(input);
And the sink of the topology acks the tuples as well:
this.collector.ack(input);
Does anybody have an idea what I'm doing wrong?