Kafka
8 commands. Toolkit id ooa.kafka.
| Command | What it does |
|---|---|
| Commit offsets | Record, for a consumer group, that one partition of a topic has been handled up to and including an offset, so the next read starts after it. Use it with Read messages and mark_as_read off to mark messages only once they are processed, or to skip ahead or go back. Run it while no other reader of the group is active. Needs a REST Proxy that supports consumer instances. |
| Connect | Keep the address and sign-in under a session for the steps after it, so they need not repeat them (G6). |
| Create topic | Create a topic with a number of partitions and optional settings such as how long messages are kept. |
| Disconnect | Forget the open Kafka session; later steps then need their own address and sign-in (G6). |
| Get topic info | Read a topic's partition count, replication and settings. |
| List topics | Return the topics in the cluster. |
| Read messages | Read new messages from one or more topics as a consumer group, so the next read carries on where this one stopped. Needs a REST Proxy that supports consumer instances (self-managed Confluent REST Proxy). |
| Send message | Write one message to a topic, with an optional key and headers. |