liveBook · Manning

Security

As explained in Kafka for Architects

Security is the protection of systems, data, and operations against unauthorized access, misuse, disruption, or compromise.

Kafka security protects the enterprise architecture through authentication, authorization, and encryption. Authentication verifies identities, authorization controls resource access, and encryption protects data from disclosure. These controls apply across client-broker traffic, broker replication, broker-controller communication, and integrations such as Kafka Connect and Schema Registry. section 9.3.1

A practical Kafka security design addresses:

  • Authentication with mechanisms such as mTLS or SASL. section 9.0 section 9.3.1
  • Authorization through ACLs, with permissions managed at topic level and therefore potentially covering all data in an accessible topic. section 9.2.3
  • Encryption in transit with TLS, plus protection for data at rest and optional end-to-end encryption. section 9.0 section 1.6.1
  • Network controls that restrict broker and controller reachability, complementing protocol-level security. section 9.2.3 section 9.3.6
Figure 9.10 Overview of the security features supported in Kafka
A screenshot of a computer screen

AI-generated content may be incorrect.

Use the security overview to map authentication, authorization, and encryption controls across Kafka components and communication paths. section 9.3.1

Customer 360 security plan

A Customer 360 deployment uses mTLS between clients and brokers for authentication and encryption, while segmented internal networks carry broker, controller, and replication traffic through SASL_PLAINTEXT. ACLs govern Kafka Connect and Schema Registry access. This reduces internal encryption overhead but accepts risk that depends on strict network controls and monitoring. section 9.3.6 section 9.2.3

How Kafka for Architects covers it

How deep it goes
Defines the security model and architectural trade-offs, then applies protocols and ACLs to a deployment without providing detailed setup instructions.
Examples
Uses a Customer 360 deployment, topic-level ACLs, mTLS client traffic, SASL internal traffic, and documented component communication paths.
What it assumes
Assumes familiarity with Kafka brokers, controllers, clients, topics, replication, and enterprise network boundaries.
What you can do after
Operate/configure Kafka security by selecting authentication, encryption, ACL, and network controls for each communication path.
How it connects
Connects authentication, authorization, encryption, TLS, SASL, mTLS, ACLs, network segmentation, Kafka Connect, and Schema Registry.

Also explained in

Compare how 28 books explain security →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Kafka for Architects. The section links point to the parts of the book it draws on.