Ujjain Bana
02/19/2024, 10:57 AMsend method in the Pulsar Go client to adopting send_async for improved performance. To optimize the write performance, I'm considering using the flush method after every 1000 messages. However, I'm curious about the scoping of this limit.
Is the 1000-message limit for flush specific to each producer, or is it enforced at the topic level? Considering that multiple producers are writing to the same topic concurrently, I want to ensure clarity on this aspect. Additionally, I'm open to insights on potential issues or considerations regarding data loss that may arise from this batching approach.
Any guidance or experiences shared would be greatly appreciated! Thank you.