All Downloads are FREE. Search and download functionalities are using the official Maven repository.

assets.en-US.Messaging.Kafka.md Maven / Gradle / Ivy

There is a newer version: 1.5.4
Show newest version
# Kafka

In this section, we provide guides and references to use the Kafka connector.

## Requirements

Connecting to Kafka does not require any previous configuration.

$$note
Note that the ingestion of the Kafka topics' schema is done separately by configuring the **Schema Registry URL**. However, only the **Bootstrap Servers** information is mandatory to extract basic metadata.
$$

You can find further information on the Kafka connector in the [docs](https://docs.open-metadata.org/connectors/messaging/kafka).

## Connection Details

$$section
### Bootstrap Servers $(id="bootstrapServers")

List of brokers as comma separated values of broker `host` or `host:port`. E.g., `host1:9092,host2:9092`
$$

$$section
### Schema Registry URL $(id="schemaRegistryURL")

URL of the Schema Registry used to ingest the schemas of the topics.

**NOTE**: For now, the schema will be the last version found for the schema name `{topic-name}-value`. An [issue](https://github.com/open-metadata/OpenMetadata/issues/10399) to improve how it currently works has been opened.
$$

$$section
### SASL Username $(id="saslUsername")

SASL username for use with the PLAIN and SASL-SCRAM mechanisms.
$$

$$section
### SASL Password $(id="saslPassword")

SASL password for use with the PLAIN and SASL-SCRAM mechanisms.
$$

$$section
### Security Protocol $(id="securityProtocol")

Security Protocol used in bootstrap server.

Supported: 
`PLAINTEXT`: Un-authenticated, non-encrypted channel
`SASL_PLAINTEXT`: SASL authenticated, non-encrypted channel
`SASL_SSL`: SASL authenticated, SSL channel
`SSL`: SSL channel
$$

$$section
### SASL Mechanism $(id="saslMechanism")

SASL mechanism to use for authentication. 

Supported: `GSSAPI`, `PLAIN`, `SCRAM-SHA-256`, `SCRAM-SHA-512`, `OAUTHBEARER`. 

**NOTE**: Only one mechanism must be configured.
$$

$$section
### Schema Registry Basic Auth User Info $(id="basicAuthUserInfo")

Schema Registry Client HTTP credentials in the form of `username:password`.

By default, user info is extracted from the URL if present.
$$

$$section
### Consumer Config $(id="consumerConfig")

The accepted additional values for the consumer configuration can be found in the following [link](https://github.com/edenhill/librdkafka/blob/master/CONFIGURATION.md).
$$

$$section
### Schema Registry Config $(id="schemaRegistryConfig")

The accepted additional values for the Schema Registry configuration can be found in the following [link](https://docs.confluent.io/5.5.1/clients/confluent-kafka-python/index.html#confluent_kafka.schema_registry.SchemaRegistryClient).
$$




© 2015 - 2024 Weber Informatics LLC | Privacy Policy