Skip to main content

%External.Messaging.KafkaSettings

Class %External.Messaging.KafkaSettings Extends %External.Messaging.Settings

Settings to create Kafka clients (Consumer, Producer and AdminClient)

Properties

username

Property username As %String(MAXLEN = 100);

User name used to create Kafka clients to the Kafka server.

password

Property password As %String(MAXLEN = 1000);

Password used to create Kafka clients to the Kafka server.

servers

Property servers As %String(MAXLEN = 1000) [ InitialExpression = "localhost:9092" ];

A comma separated list of host/port pairs to use for establishing the initial connection to the Kafka cluster.

clientId

Property clientId As %String(MAXLEN = 1000) [ InitialExpression = "KafkaProducer" ];

Client Id for Kafka producer.

groupId

Property groupId As %String(MAXLEN = 1000);

Group id for Kafka consumer.

securityprotocol

Property securityprotocol As %String(MAXLEN = 50) [ InitialExpression = "SASL_PLAINTEXT" ];

Security protocol between Kafka client and broker Supported protocol: SASL_PLAINTEXT, SASL_SSL

saslmechanism

Property saslmechanism As %String(MAXLEN = 50) [ InitialExpression = "PLAIN" ];

SASL mechanism Posssible values: GSSAPI,PLAIN,SCRAM-SHA-256,SCRAM-SHA-512,OAUTHBEARER Supported mechanism: PLAIN,SCRAM-SHA-256,SCRAM-SHA-512

truststorelocation

Property truststorelocation As %String(MAXLEN = 1000);

Trust store location

truststorepassword

Property truststorepassword As %String(MAXLEN = 1000);

Trust store password

keystorelocation

Property keystorelocation As %String(MAXLEN = 1000);

Key store location

keystorepassword

Property keystorepassword As %String(MAXLEN = 1000);

Key store password

keypassword

Property keypassword As %String(MAXLEN = 1000);

Key password