ERROR Error when sending message to topic test01 with key: null, value: 4 bytes with error

2017-08-09 Thread Ascot Moss
Hi all, I have setup Kafka 0.10.2.1 with SSL enabled When trying console producer, I got the following error: My Command: ./bin/kafka-console-producer.sh --broker-list localhost:9093 --producer.config /hme/kafka/config/producer.properties --sync --topic test01 Error from console: ERROR Error w

Create Topic Error: Create Topic Error and cannot write to console producer

2017-08-09 Thread Ascot Moss
Hi, I have setup Kafka 0.10.2.1 with SSL. Check Status: openssl s_client -debug -connect n1:9093 -tls1 New, TLSv1/SSLv3, Cipher is ECDHE-RSA-AES256-SHA ... SSL-Session: Protocol : TLSv1 PSK identity hint: None Start Time: 1502285690 Timeout : 7200 (sec) Verify ret

Re: Create Topic Error: Create Topic Error and cannot write to console producer

2017-08-09 Thread Ascot Moss
ith us. > > Kindest Regards, > M. Manna > > On 9 August 2017 at 14:38, Ascot Moss wrote: > > > Hi, > > > > > > I have setup Kafka 0.10.2.1 with SSL. > > > > > > Check Status: > > > > openssl s_client -debug -connect n1:90

Re: Create Topic Error: Create Topic Error and cannot write to console producer

2017-08-09 Thread Ascot Moss
ssl.truststore.location=/home/kafka/kafka.client.truststore.jks ssl.truststore.password=testkafka ssl.keystore.location=/home/kafka/kafka.client.keystore.jks ssl.keystore.password=testkafka ssl.key.password=testkafka # On Thu, Aug 10, 2017 at 4:17 AM, Ascot Moss wrote: > Dear Manna, > > > What&

Re: Create Topic Error: Create Topic Error and cannot write to console producer

2017-08-09 Thread Ascot Moss
t; Does it show that your broker #11 is connected? > > > > > On 9 August 2017 at 21:17, Ascot Moss wrote: > > > Dear Manna, > > > > > > What's the status of your SSL? Have you verified that the setup is > working? > > Yes, I used " >

Re: Create Topic Error: Create Topic Error and cannot write to console producer

2017-08-09 Thread Ascot Moss
kerberos.removeHostFromPrincipal=true ## On Thu, Aug 10, 2017 at 4:35 AM, Ascot Moss wrote: > server.properties > > ## > > broker.id=11 > > port=9093 > > host.name=n1 > > advertised.host.name=192.168.0.11 > > allow.everyone.if.no.acl.found=true > &

Re: Create Topic Error: Create Topic Error and cannot write to console producer

2017-08-09 Thread Ascot Moss
state:SaslAuthenticated type:None path:null On Thu, Aug 10, 2017 at 4:43 AM, Ascot Moss wrote: > FYI, about zookeeper, I used my existing zookeeper (as I have existing > zookeeper up and running, which is also used for hbase) > > zookeeper versoom: 3.4.10 > > zoo.cfg > ## > >

Re: Create Topic Error: Create Topic Error and cannot write to console producer

2017-08-09 Thread Ascot Moss
uot;:-1,"version":4} cZxid = 0x40002787d ctime = Thu Aug 10 04:31:37 HKT 2017 mZxid = 0x40002787d mtime = Thu Aug 10 04:31:37 HKT 2017 pZxid = 0x40002787d cversion = 0 dataVersion = 0 aclVersion = 0 ephemeralOwner = 0x35d885c689c00a6 dataLength = 168 numChildren = 0 On Thu,

Re: Create Topic Error: Create Topic Error and cannot write to console producer

2017-08-09 Thread Ascot Moss
quot;:{"SSL":"SSL"},"endpoints":["SSL:// n3.test.com:9093 "],"jmx_port":-1,"host":null,"timestamp":"1502284080461","port":-1,"version":4} cZxid = 0x400026c6c ctime = Wed Aug 09 21:07:59 HKT 2017

Re: Create Topic Error: Create Topic Error and cannot write to console producer

2017-08-09 Thread Ascot Moss
Dear Manna, Where can I set "-Djavax.security.debug=all" for Kafka? Regards On Thu, Aug 10, 2017 at 5:08 AM, Ascot Moss wrote: > ( I have 3 test nodes) > > get /brokers/ids/11 > > {"listener_security_protocol_map":{"SSL":"SSL"},"

Re: Create Topic Error: Create Topic Error and cannot write to console producer

2017-08-09 Thread Ascot Moss
and port from > server.properties, does it work for you? > > I am using SSL without ACL. it seems to be working fine. > > On 9 August 2017 at 22:03, Ascot Moss wrote: > > > About: > > zookeeper-shell.sh localhost:2181 > > get /brokers/ids/11 > > > >

Re: Create Topic Error: Create Topic Error and cannot write to console producer

2017-08-10 Thread Ascot Moss
ee if it improves. > > > On 10 August 2017 at 00:17, Ascot Moss wrote: > > > I commented out both #host.name, #advertised.host.nam > > > > (new server.properties) > > broker.id=11 > > port=9093 > > #host.name=n1.test.com > > #advertised.host.name

Re: Create Topic Error: Create Topic Error and cannot write to console producer

2017-08-10 Thread Ascot Moss
Thu, Aug 10, 2017 at 6:37 PM, Ascot Moss wrote: > Works! > Many thanks > > On Thu, Aug 10, 2017 at 4:33 PM, M. Manna wrote: > >> you missed port - comment that out too. >> >> Debugging can enabled by >> >> 1) Setting root logger to DEBUG - more i

Re: Create Topic Error: Create Topic Error and cannot write to console producer

2017-08-10 Thread Ascot Moss
A question: (input order) test1 test2 test3 test 2017-08-10 |2017-08-10 test1 2017-08-10 test2 If get them using *--from-beginning* (received order) test1 test 2017-08-10 2017-08-10 test1 test2 test3 2017-08-10 test2 Any idea how to get the message in the original order as input?

Re: Create Topic Error: Create Topic Error and cannot write to console producer

2017-08-10 Thread Ascot Moss
Could point me where the document is? On Thu, Aug 10, 2017 at 6:50 PM, M. Manna wrote: > This is due to partitions you are consuming from. Documentation section > explains what needs to be done. > > > > > On 10 August 2017 at 11:43, Ascot Moss wrote: > > > A

Re: Create Topic Error: Create Topic Error and cannot write to console producer

2017-08-13 Thread Ascot Moss
Hi, Without changing any configuration, got the error again now: [2017-08-13 20:09:52,727] ERROR Error when sending message to topic test02 with key: null, value: 5 bytes with error: (org.apache.kafka.clients.producer.internals.ErrorLoggingCallback) org.apache.kafka.common.errors.TimeoutExcepti

Local city Kafka user Meet-up

2018-12-21 Thread Ascot Moss
Hi, >From Kafka site, I can see there a number of events about local MEET-UPs, many of them are far away from my city, http://kafka.apache.org/events Can anyone advise how to add the link of my local Kafka meet up to the event page in Kafka site as I wish to have more people to join local meet-u