Client Configuration
This pages explains how to configure your Apache Kafka client with WarpStream.
Last updated
Was this helpful?
This pages explains how to configure your Apache Kafka client with WarpStream.
Last updated
Was this helpful?
Don't forget to review our documentation for once you're done. A few small changes in client configuration can result in 10-20x higher throughput when using WarpStream.
WarpStream provides API-compatibility with Apache Kafka, so you can just connect your clients to the WarpStream agents by setting the WarpStream Application Bootstrap URL (obtained from the ) as the value in the Kafka bootstrap settings. For example, using the librdkafka
client in Go:
If you just want to get up and running quickly, you can use a regular client ID and skip encoding your application's availability zone in the client ID. However, beware that you may incur higher costs due to inter-zone networking.
You can read more about the WarpStream service discovery system in our , but if you want to take advantage of WarpStream's zone-aware service discovery system and achieve good load balancing, you must encode your application's availability zone in your Kafka client's client ID using the format in the code sample above.
Follow to learn how to determine your application's availability zone in all major cloud environments and properly template your client ID.