Implement BatchInput instead of Input for nats_jetstream #2510
Labels
inputs
Any tasks or issues relating specifically to inputs
nats
Issues relating to NATS and Jetstream
needs investigation
It looks as though have all the information needed but investigation is required
performance
Issues relating to performance
I see that nats_jetstream fetches messages with a batch size of 1
Would it not increase performance to implement the BatchInput interface instead of Input when fetching from a NATS Jetstream?
Adding batchSize as a config parameter and setting to 1 would behave the same as the current implementation.
The text was updated successfully, but these errors were encountered: