redpanda-data / connect

Fancy stream processing made operationally mundane

Home Page:https://docs.redpanda.com/redpanda-connect/about/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Implement BatchInput instead of Input for nats_jetstream

GeorgeGkinis opened this issue · comments

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.