[OpenNMS/opennms] e8277a: NMS-19840: Kafka producer json metric payloads

Dino via opennms-cvs <[email protected]>
Newsgroups gmane.network.opennms.cvs
Message-ID <OpenNMS/opennms/push/refs/heads/dcy/kafka-producer-json/[email protected]>
  Branch: refs/heads/dcy/kafka-producer-json
  Home:   https://github.com/OpenNMS/opennms
  Commit: e8277a21282e99249d2969cce5c7ceae93c383a0
      https://github.com/OpenNMS/opennms/commit/e8277a21282e99249d2969cce5c7ceae93c383a0
  Author: Dino <[email protected]>
  Date:   2026-09-01 (Tue, 01 Sep 2026)

  Changed paths:
    M container/features/pom.xml
    M container/features/src/main/resources/features.xml
    M docs/modules/operation/pages/deep-dive/kafka-producer/configure-kafka.adoc
    M features/kafka/producer/pom.xml
    M features/kafka/producer/src/main/java/org/opennms/features/kafka/producer/collection/KafkaPersister.java
    M features/kafka/producer/src/main/java/org/opennms/features/kafka/producer/collection/KafkaPersisterActivator.java
    M features/kafka/producer/src/main/java/org/opennms/features/kafka/producer/collection/KafkaPersisterFactory.java
    M features/kafka/producer/src/main/resources/OSGI-INF/blueprint/blueprint-kafka-producer.xml
    A features/kafka/producer/src/test/java/org/opennms/features/kafka/producer/collection/KafkaPersisterJsonTest.java

  Log Message:
  -----------
  NMS-19840: Kafka producer json metric payloads

When enabled, the metrics persister encodes CollectionSets with
protobuf JsonFormat instead of protobuf binary. Message splitting
measures the encoded payload size, serializes once per message, and
won't recurse forever on a single oversized attribute. Adds the
gson bundle the wrapped protobuf-java-util requires, puts the
opennms-kafka-producer feature under karaf verify, and documents the
the option.



To unsubscribe from these emails, change your notification settings at https://github.com/OpenNMS/opennms/settings/notifications


_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/wiki/index.php?page=MailingListFaq
opennms-cvs mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-cvs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.