Class PipelineKafkaConfigSource

java.lang.Object
ai.pipestream.common.config.PipelineKafkaConfigSource
All Implemented Interfaces:
org.eclipse.microprofile.config.spi.ConfigSource

public class PipelineKafkaConfigSource extends Object implements org.eclipse.microprofile.config.spi.ConfigSource
Global Kafka Configuration Source.

This class automatically applies standard Pipeline Kafka configurations (UUID keys, Protobuf values) to ALL outgoing and incoming Kafka channels by setting defaults on the 'smallrye-kafka' connector.

It uses MicroProfile Config to inject these defaults at a low priority (250), allowing application.properties (260+) to override them if necessary.

  • Constructor Details

    • PipelineKafkaConfigSource

      public PipelineKafkaConfigSource()
  • Method Details

    • getProperties

      public Map<String,String> getProperties()
      Specified by:
      getProperties in interface org.eclipse.microprofile.config.spi.ConfigSource
    • getPropertyNames

      public Set<String> getPropertyNames()
      Specified by:
      getPropertyNames in interface org.eclipse.microprofile.config.spi.ConfigSource
    • getValue

      public String getValue(String propertyName)
      Specified by:
      getValue in interface org.eclipse.microprofile.config.spi.ConfigSource
    • getName

      public String getName()
      Specified by:
      getName in interface org.eclipse.microprofile.config.spi.ConfigSource
    • getOrdinal

      public int getOrdinal()
      Specified by:
      getOrdinal in interface org.eclipse.microprofile.config.spi.ConfigSource