Apache Kafka


The apache_kafka integration sends all state changes to a Apache Kafka topic.

Apache Kafka is a real-time data pipeline that can read and write streams of data. It stores its data safely in a distributed, replicated, fault-tolerant cluster.

To use the apache_kafka integration in your installation, add the following to your configuration.yaml file:

apache_kafka:
  host: localhost
  port: 9092
  topic: home_assistant_1

Configuration Variables

host

(string)(Required)

The IP address or hostname of an Apache Kafka cluster.

port

(integer)(Required)

The port to use.

topic

(string)(Required)

The Kafka topic to send data to.

filter

(map)(Optional)

Filters for entities to be included/excluded.

include_domains

(list)(Optional)

Domains to be included.

include_entities

(list)(Optional)

Entities to be included.

exclude_domains

(list)(Optional)

Domains to be excluded.

exclude_entities

(list)(Optional)

Entities to be excluded.