Skip to main content

Kafka

Experimental
Creates:
Assets

Configure in the UI

This plugin can be configured directly in the Marmot UI with a step-by-step wizard.

View Guide

The Kafka plugin discovers topics from Kafka clusters. It captures topic configurations, partition details, and schema information from Schema Registry.

Looking for a managed service?

Marmot has dedicated plugins for Confluent Cloud and Redpanda with pre-configured defaults.

Connection Examples

Example Configuration


bootstrap_servers: "kafka-1.prod.com:9092,kafka-2.prod.com:9092"
client_id: "marmot-discovery"
authentication:
type: "sasl_ssl"
username: "your-api-key"
password: "your-api-secret"
mechanism: "PLAIN"
tls:
enabled: true
tags:
- "kafka"
- "streaming"

Configuration

The following configuration options are available:

PropertyTypeRequiredDescription
authenticationAuthConfigfalseAuthentication configuration
bootstrap_serversstringfalseComma-separated list of bootstrap servers
client_idstringfalseClient ID for the consumer
client_timeout_secondsintfalseRequest timeout in seconds
consumer_configmap[string]stringfalseAdditional consumer configuration
external_links[]ExternalLinkfalseExternal links to show on all assets
filterFilterfalseFilter discovered assets by name (regex)
include_partition_infoboolfalseWhether to include partition information in metadata
include_topic_configboolfalseWhether to include topic configuration in metadata
schema_registrySchemaRegistryConfigfalseSchema Registry configuration
tagsTagsConfigfalseTags to apply to discovered assets
tlsTLSConfigfalseTLS configuration

Available Metadata

The following metadata fields are available:

FieldTypeDescription
cleanup_policystringTopic cleanup policy
delete_retention_msstringTime to retain deleted segments in milliseconds
group_idstringConsumer group ID
key_schemastringKey schema definition
key_schema_idintID of the key schema in Schema Registry
key_schema_typestringType of the key schema (AVRO, JSON, etc.)
key_schema_versionintVersion of the key schema
max_message_bytesstringMaximum message size in bytes
members[]stringMembers of the consumer group
min_insync_replicasstringMinimum number of in-sync replicas
partition_countint32Number of partitions
protocolstringRebalance protocol
protocol_typestringProtocol type
replication_factorint16Replication factor
retention_bytesstringMaximum size of the topic in bytes
retention_msstringMessage retention period in milliseconds
segment_bytesstringSegment file size in bytes
segment_msstringSegment file roll time in milliseconds
statestringCurrent state of the consumer group
subscribed_topics[]stringTopics the group is subscribed to
topic_namestringName of the Kafka topic
value_schemastringValue schema definition
value_schema_idintID of the value schema in Schema Registry
value_schema_typestringType of the value schema (AVRO, JSON, etc.)
value_schema_versionintVersion of the value schema