Skip to main content

Kafka

8 commands. Toolkit id ooa.kafka.

CommandWhat it does
Commit offsetsRecord, 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.
ConnectKeep the address and sign-in under a session for the steps after it, so they need not repeat them (G6).
Create topicCreate a topic with a number of partitions and optional settings such as how long messages are kept.
DisconnectForget the open Kafka session; later steps then need their own address and sign-in (G6).
Get topic infoRead a topic's partition count, replication and settings.
List topicsReturn the topics in the cluster.
Read messagesRead 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 messageWrite one message to a topic, with an optional key and headers.