bin/kafka-console-consumer.sh --bootstrap-server 172.19.78.32:9092 --topic 
tapicName 
I am using kafka_2.11-2.4.1



wangl...@geekplus.com.cn 
 
From: manoj.agraw...@cognizant.com
Date: 2020-05-11 12:39
To: wangl...@geekplus.com.cn; users@kafka.apache.org
Subject: Re: kafka-console-consumer.sh: Port already in use Exception after 
enable JMX
Please share the consumer.sh . 
Are you using Apache kafka  and what version ? 
 
From: "wangl...@geekplus.com.cn" <wangl...@geekplus.com.cn>
Date: Sunday, May 10, 2020 at 9:38 PM
To: users <users@kafka.apache.org>
Cc: "Agrawal, Manoj (Cognizant)" <manoj.agraw...@cognizant.com>
Subject: Re: Re: kafka-console-consumer.sh: Port already in use Exception after 
enable JMX
 
[External]
Hi Manoj, 
 
I have tried, not work.
 
When i changed to 9998, the consumer.sh tells me Port already in use: 9998
 
Thanks,
Lei 
 
 


wangl...@geekplus.com.cn
 
 
From: manoj.agraw...@cognizant.com
Date: 2020-05-11 12:04
To: users@kafka.apache.org
Subject: Re: kafka-console-consumer.sh: Port already in use Exception after 
enable JMX
You can change jmx-port to any available port - 9992
 
On 5/10/20, 7:49 PM, "wangl...@geekplus.com.cn" <wangl...@geekplus.com.cn> 
wrote:
 
    [External]
 
 
    Add  JMX_PORT=9988 to kafka-run-class.sh  to enable JMX
 
    After execute bin/kafka-console-consumer.sh there‘s exception:
 
    Error: Exception thrown by the agent : java.rmi.server.ExportException: 
Port already in use: 9988; nested exception is:
            java.net.BindException: Address already in use (Bind failed)
 
 
 
 
    wangl...@geekplus.com.cn
 
 
 
This e-mail and any files transmitted with it are for the sole use of the 
intended recipient(s) and may contain confidential and privileged information. 
If you are not the intended recipient(s), please reply to the sender and 
destroy all copies of the original message. Any unauthorized review, use, 
disclosure, dissemination, forwarding, printing or copying of this email, 
and/or any action taken in reliance on the contents of this e-mail is strictly 
prohibited and may be unlawful. Where permitted by applicable law, this e-mail 
and other e-mail communications sent to and from Cognizant e-mail addresses may 
be monitored.
This e-mail and any files transmitted with it are for the sole use of the 
intended recipient(s) and may contain confidential and privileged information. 
If you are not the intended recipient(s), please reply to the sender and 
destroy all copies of the original message. Any unauthorized review, use, 
disclosure, dissemination, forwarding, printing or copying of this email, 
and/or any action taken in reliance on the contents of this e-mail is strictly 
prohibited and may be unlawful. Where permitted by applicable law, this e-mail 
and other e-mail communications sent to and from Cognizant e-mail addresses may 
be monitored.
This e-mail and any files transmitted with it are for the sole use of the 
intended recipient(s) and may contain confidential and privileged information. 
If you are not the intended recipient(s), please reply to the sender and 
destroy all copies of the original message. Any unauthorized review, use, 
disclosure, dissemination, forwarding, printing or copying of this email, 
and/or any action taken in reliance on the contents of this e-mail is strictly 
prohibited and may be unlawful. Where permitted by applicable law, this e-mail 
and other e-mail communications sent to and from Cognizant e-mail addresses may 
be monitored. This e-mail and any files transmitted with it are for the sole 
use of the intended recipient(s) and may contain confidential and privileged 
information. If you are not the intended recipient(s), please reply to the 
sender and destroy all copies of the original message. Any unauthorized review, 
use, disclosure, dissemination, forwarding, printing or copying of this email, 
and/or any action taken in reliance on the contents of this e-mail is strictly 
prohibited and may be unlawful. Where permitted by applicable law, this e-mail 
and other e-mail communications sent to and from Cognizant e-mail addresses may 
be monitored. 

Reply via email to