You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there, we are using this wonderful library, but are having trouble understanding how the fetcher works. It seems like the documentation lacks details on this.
At the lowest library level, how do you fetch data from Kafka? Is there something that runs periodically? I'm thinking of the following scenario: request data from Kafka -> wait for N seconds -> request data from Kafka -> wait ...
If so, can we control this interval (N seconds mentioned above)?
For better understanding, could you also please answer the following question. Let's say we have the reader
and call reader.ReadMessage(ctx) in the infinite loop, simply reading and then proceeding to the next iteration. So if someone starts sending messages continuously (in a infinite loop as well), will we receive data without delay? Or, for example, will the library handle messages only at fixed intervals, like every N seconds?
The text was updated successfully, but these errors were encountered:
First time here, but to my understanding, ReadMessage(ctx) reads a new message whenever it is available with minimal delay. You don't control fetch intervals directly.
Hi there, we are using this wonderful library, but are having trouble understanding how the fetcher works. It seems like the documentation lacks details on this.
At the lowest library level, how do you fetch data from Kafka? Is there something that runs periodically? I'm thinking of the following scenario: request data from Kafka -> wait for N seconds -> request data from Kafka -> wait ...
If so, can we control this interval (N seconds mentioned above)?
For better understanding, could you also please answer the following question. Let's say we have the reader
and call
reader.ReadMessage(ctx)
in the infinite loop, simply reading and then proceeding to the next iteration. So if someone starts sending messages continuously (in a infinite loop as well), will we receive data without delay? Or, for example, will the library handle messages only at fixed intervals, like every N seconds?The text was updated successfully, but these errors were encountered: