Tools / Apache HertzBeat Interview Questions
What is the difference between collector-basic and protocol-specific collector modules?
HertzBeat splits collector code by dependency weight, not just by feature, and this shows up directly in the module layout.
| hertzbeat-collector-basic | Protocol-specific modules (kafka, mongodb, nebulagraph...) |
| Protocols with no proprietary client dependencies (HTTP, JMX, SSH, SNMP, JDBC). | Bundle a heavy or proprietary client library needed for that one protocol. |
| Always included in a standard build. | Kept as separate modules to avoid bloating the core with optional dependencies. |
Splitting them this way means a deployment that never monitors Kafka or MongoDB doesn't need to carry those client libraries at all, keeping the core collector lean.
More Related questions...