apache / apache/hertzbeat

[Question] kafka monitoring is not working.

Open
#510 1 comment 0 reactions 0 assignees View on GitHub
question
Dominant language
Java
Stars
7.4k
Forks
1.3k
Avg merge
1d 20h
Merged PRs (30d)
32

Description

### Question

I tried to add kafka monitoring, filled host and port (9092).
And when I click test button, I got `测试连接失败
Failed to retrieve RMIServer stub: javax.naming.CommunicationException [Root exception is java.rmi.ConnectIOException: error during JRMP connection establishment; nested exception is: java.io.EOFException]`.

I have also tested port connectivity via `nc -nz 9092`.

I did not find how can I specify the username/password either.

Contributor guide

Open the contributing guide

Research direction

Start at the Kafka monitoring configuration's Test button and reproduce the reported RMI/JRMP connection failure with the provided host and port. Determine how Kafka authentication is configured, including username and password handling, then make the test connection behavior or its documentation match the supported setup.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, kafka
Domain
observability
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.