how to produce/consume kafka through ssh tunnel

2017-03-02 Thread wei
We have kafka setup on staging environment, when debug the consumer we want to directly listen to the kafka on staging environment. I set tunnel but it seems i can't produce or consume from my local machine. I can create topic though. I have no problem to produce/consumer on other machine in stagin

more than 1 active controler

2017-04-21 Thread wei
We noticed we have more than 2 active controllers. How can we fix the issue? it has been for a few days. Thanks, Wei

MirrorMaker among different version Kafkas

2015-01-06 Thread Wei Yan
among different data centers running different version kafka? thanks, Wei

A kafka web monitor

2015-03-23 Thread Wan Wei
We have make a simple web console to monitor some kafka informations like consumer offset, logsize. https://github.com/shunfei/DCMonitor Hope you like it and offer your help to make it better :) Regards Flow

Re: A kafka web monitor

2015-05-23 Thread Wan Wei
ject, but > it gives me "Permission denied, the remote end hung up unexpectedly". Can > you provide any suggestions to this issue? > > Thanks. > > best, > Yuheng > > On Mon, Mar 23, 2015 at 8:54 AM, Wan Wei wrote: > > > We have make a simple web console

Rebalance and Failures

2016-07-19 Thread Kerry Wei
Hi all, Bit confused on rebalance and failures: (if understand correctly about rebalance procedure) Suppose during the middle of the rebalance, some consumer, C1, hits an unclean shutdown (i.e. crashes, or kill -9), and the coordinator won't be aware that C1 is dead until {zookeeper.session.timeou

Re: How can I delete a topic programatically?

2016-10-11 Thread Jianbin Wei
You can check this http://kafka.apache.org/documentation.html#basic_ops_add_topic But from our experience it is best to delete topics one by one, i.e., make sure Kafka is in good shape before and after deleting a topic before working on next one. Regards, -- Jianbin > On Oct 11, 2016, at 9:2

connection closed by kafka

2016-10-27 Thread Jianbin Wei
In our environment we notice that sometimes Kafka would close the connection after one message is sent over. The client does not detect that and tries to send another message again. That triggers a RST packet. Any idea why the Kafka broker would close the connection? Attached you can find the

Enable TLS Authentication + Enable External Access using LoadBalancer

2021-12-20 Thread Wei Yang
lancer IPs + port, or any 1 LoadBalancer IP + port? * On external client side, does it need all 3 broker’s certificates? * How does the client know using which certificate while creating request to Kafka cluster? Thanks and regards, Wei Yang Cloud Infrastructure Engineer [/var/

Re: Enable TLS Authentication + Enable External Access using LoadBalancer

2022-01-12 Thread Wei Yang
Hi Luke, Thanks a lot for the clarifications. Very helpful to me for getting started. As we can import the root CA of all certificates to trust them all, I’d like to understand * Why Kafka needs one LoadBalancer per broker? Thank you very much! Regards, Wei From: Luke Chen Date

kafka 0.10 offset storage on zookeeper

2016-11-13 Thread Wei Li
or zookeeper logs. Can someone suggest how I can further debug this issue? BTW, I am using logstash as kafka client to read data from kafka topic. Thanks, Wei

Re: getting an error about: java.lang.OutOfMemoryError: Direct buffer memory

2016-11-16 Thread Wei Li
java.lang.OutOfMemoryError is not really necessary directly related with memory usage. In your config, it requests only 1G. If your system is not stressed, I would suggest you to check ulimit for kafka runtime user, particularly check max number of open file descriptor and max number of processes

Reassign Partitions Programmatically

2017-05-12 Thread Kerry Wei
Hi there, Can't find Java API to do partition reassignment, so i took a look at the source code (not a deep look). It seems that the kafka-reassign-partitions.sh script created the znode /admin/reassign_partitions with the new plan (in JSON) as the data. I wonder if I could post data to zookeeper i

How to debug why partition reassignment failure?

2017-05-30 Thread Kerry Wei
Hi, I'm using kafka-reassign-partitions.sh to move partitions around, however, sometimes I got partition reassignment failure. The cluster is healthy before the rebalance, and a retry after 10 mins resolved the problem. However, I wonder if there's a way I can check why the reassignment failed for