---
metadata:
  - name: generator
    content: Diplodoc Platform v5.50.6
alternate:
  - https://ydb.tech/docs/en/reference/kafka-api/constraints.md?version=main
  - https://ydb.tech/docs/ru/reference/kafka-api/constraints.md?version=main
sourcePath: en/core/reference/kafka-api/constraints.md
---
> **Documentation Index:** Fetch the complete configuration index at https://ydb.tech/docs/en/llms.txt

# Kafka API constraints

YDB supports [Apache Kafka protocol](https://kafka.apache.org/protocol.html) version 3.4.0 with the following constraints:

1. [Message compression](https://www.confluent.io/blog/apache-kafka-message-compression) is not supported.
1. [The topic deletion operation](https://kafka.apache.org/protocol#The_Messages_DeleteTopics) is not supported. To delete a topic, use [YQL](https://ydb.tech/docs/en/yql/reference/syntax/drop-topic.md?version=main) or [YDB CLI](https://ydb.tech/docs/en/reference/ydb-cli/topic-drop.md?version=main).
1. [CRC checks](https://kafka.apache.org/documentation/#consumerconfigs_check.crcs) are not supported.
1. [Support for ACL](https://kafka.apache.org/documentation/#security_authz) is not provided. Use [YQL](https://ydb.tech/docs/en/yql/reference/syntax/grant.md?version=main) to manage access to topics.
1. If [auto-partitioning](https://ydb.tech/docs/en/concepts/datamodel/topic.md?version=main#autopartitioning) is enabled on a topic, you cannot write to or read from such a topic using the Kafka API.
