How should brokers be secured?
Secure brokers with authenticated clients, encrypted transport, least-privilege authorization, network restrictions, and managed credentials.
The question library
Explore practical questions, clear explanations, and code examples across developer technologies.
Showing 2581–2592 of 3610 questions
Secure brokers with authenticated clients, encrypted transport, least-privilege authorization, network restrictions, and managed credentials.
Kafka ACLs restrict which principals can perform operations on resources such as topics, consumer groups, and transactional IDs.
Minimize sensitive fields, classify data, encrypt transport and storage, restrict topic access, and define retention and deletion policies.
Authenticate producers, authorize publication to specific destinations, validate message schemas and business invariants, and protect credentials.
Event governance should define ownership, naming, schema compatibility, retention, data classification, deprecation, and consumer discovery.
Unit-test a handler by supplying representative payloads and mocking external dependencies, then assert the business result and failure classification.
Integration tests should run against a real or containerized Kafka broker when broker behavior matters.
Create test exchanges, queues, and bindings, publish messages with matching and nonmatching routing keys, and assert which queues receive them.
A contract test verifies that producer output matches the agreed schema and semantic expectations consumed by downstream services.
Inject a controlled failure and assert the attempt count, delay tier, dead-letter destination, and preserved event identity.
A saga coordinates a business transaction across multiple services as a sequence of local transactions and compensating actions.
A compensating transaction semantically reverses or offsets an earlier completed step, such as releasing a reservation after a payment fails.