Skip to content

NMS-12669: IPC and Kafka docs - #8994

Closed
joseanesONMS wants to merge 5 commits into
developfrom
jira/NMS-12669-ipc-docs-smoke
Closed

joseanesONMS wants to merge 5 commits into
developfrom
jira/NMS-12669-ipc-docs-smoke

Conversation

@joseanesONMS

@joseanesONMS joseanesONMS commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

Documents the Minion IPC and the Kafka producer, split out of #8984; content checked against the code on develop, one commit per ticket.

Ticket Topic Page(s) added/changed Source of truth
NMS-12669 Sink and RPC patterns deployment/…/minion/ipc.adoc (new) core/ipc/sink/api, core/ipc/rpc/api
NMS-13800 Twin API deployment/…/minion/ipc.adoc, minion/message-broker/kafka.adoc core/ipc/twin/api, AbstractTwinPublisher.java
NMS-13814 Kafka producer .proto definitions operation/…/kafka-producer/kafka-producer.adoc features/kafka/producer/src/main/proto/*.proto, OpennmsKafkaProducer.java
NMS-14886 Kafka producer filter examples operation/…/kafka-producer/configure-kafka.adoc OpennmsKafkaProducer.java (SpEL filters)
NMS-14033 Sentinel settings for Kafka multi-tenancy reference/…/tuning-kafka.adoc, system-properties.adoc blueprint-ipc-server.xml, KafkaTopicProvider.java

The Kafka event-record key is also corrected.

Not addressed

  • NMS-13414: AWS SQS is gone from develop and gRPC is a supported transport, so marking them experimental would be inaccurate.

The docs build adds no warnings (develop's two existing ones remain).

External References

The Minion docs described installation per broker but not the Sink and RPC patterns that carry Core, Minion, and Sentinel traffic. The new page follows the core/ipc sink and rpc APIs and the strategy selection in SinkStrategy and RpcStrategy.
The Twin pattern that replicates configuration from Core to Minions was only mentioned by name in the Kafka setup. The section follows the core/ipc/twin publisher and subscriber APIs, the keys registered by Trapd, telemetryd, and the IPFIX provider, and the twin-subscribe shell command.
The page pointed readers at the source distribution for the .proto files without naming them or their message types. It now lists the file paths, the key and message type of each topic, and how to generate consumer classes, following OpennmsKafkaProducer and KafkaPersister; it also corrects the event record key, which is not set.
The page had one sample expression per filter. It now lists tested sample expressions for events, alarms, and metrics, explains how alarm filtering treats cleared and deleted alarms, and notes that nodes follow the event and alarm filters; the expressions match the getters of Event, OnmsAlarm, and KafkaPersister.ResourceFilterContext under the producer's SimpleEvaluationContext.
The tuning page said Sentinel needs the instance ID but only showed Core and Minion, and did not explain why the Sentinel setup also sets group.id. It now names the Sentinel files and explains both properties, following SystemInfoUtils, OnmsKafkaConfigProvider, and the sink Kafka consumer blueprint.
@joseanesONMS

Copy link
Copy Markdown
Contributor Author

Reopened as #9004 from a branch without the -smoke suffix; this PR is docs-only, so it doesn't need a smoke run.

@joseanesONMS
joseanesONMS deleted the jira/NMS-12669-ipc-docs-smoke branch October 22, 2026 12:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant