phase text improvement
This commit is contained in:
parent
75b87f6d62
commit
4bcc14ea66
1 changed files with 2 additions and 1 deletions
|
@ -72,8 +72,9 @@ abstract class RangePollingEmitter extends AbstractEmitter {
|
|||
FluxSink<TopicMessageEventDTO> sink,
|
||||
TreeMap<TopicPartition, FromToOffset> range) {
|
||||
log.trace("Polling range {}", range);
|
||||
sendPhase(sink,
|
||||
"Polling partitions: %s".formatted(range.keySet().stream().map(TopicPartition::partition).sorted().toList()));
|
||||
|
||||
sendPhase(sink, String.format("Polling partitions: %s", range.keySet()));
|
||||
consumer.assign(range.keySet());
|
||||
range.forEach((tp, fromTo) -> consumer.seek(tp, fromTo.from));
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue