Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
Kafka >> mail # user >> Cross-site Kafka installation

Pablo Barrera González 2013-01-21, 22:05
Copy link to this message
Re: Cross-site Kafka installation
We do mirroring across data-centers (but in the same continent). You should
basically set a high fetch size and socket buffer size in such scenarios.

In general, you should set a high value for the socket buffer size on the
consumer configuration (socket.buffersize) and the source cluster's broker
configuration (socket.send.buffer).

Assuming you are using the high-level consumer, the fetch size (fetch.size)
should be higher than the consumer's socket buffer size. Note that the
socket buffer size configurations are a hint to the underlying platform's
networking code. If you enable trace logging, you can check the actual
receive buffer size and determine whether the setting in the OS networking
layer also needs to be adjusted. Likewise, you will need to use higher
connection/session timeouts for zookeeper and set your offset commit
intervals to be fairly large.


On Mon, Jan 21, 2013 at 2:04 PM, Pablo Barrera González <

> Hello
> In my enterprise we are deploying an cross-site installation of Kakfa. One
> of the Kafka cluster is located in USA and one consumer is in Europe. Does
> anybody have experience in such an environment? Any comments on the
> configuration and best practices?
> Thanks in advance
> Pablo

Pablo Barrera González 2013-01-22, 20:27