goutamadwant opened a new issue, #13748:
URL: https://github.com/apache/seatunnel/issues/13748
### What happened
A RocketMQ batch read with `batch.size = 10` signaled completion after
emitting only 10 of 35 messages. I reproduced this with the unchanged SeaTunnel
source reader against a real RocketMQ 4.9.4 broker.
To reproduce, publish 35 plain-text messages (`0` through `34`) to the same
queue in a fresh topic named `rocketmq-batch-repro`. Run the batch config below
against that broker.
Expected: all 35 IDs appear once in the sink.
Actual: the reader emitted only IDs 0–9 and signaled completion, leaving 25
messages unread.
### SeaTunnel Version
`dev` at `1e7e29a75bd0cfdcdd9f21d2fc30d8c79d808ab6`
### SeaTunnel Config
```hocon
env {
job.mode = "BATCH"
parallelism = 1
}
source {
Rocketmq {
name.srv.addr = "127.0.0.1:9876"
topics = "rocketmq-batch-repro"
consumer.group = "rocketmq-batch-repro-group"
start.mode = "CONSUME_FROM_FIRST_OFFSET"
batch.size = 10
format = "text"
schema {
fields { id = int }
}
}
}
sink {
Console {}
}
```
### Running Command
```sh
sh bin/seatunnel.sh -e local --config rocketmq-batch.conf
```
### Error Exception
No exception. The baseline reader reported completion after emitting IDs 0–9.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]