Quickly and Elegantly Create a Topic in Know Streaming
This guide walks through the step‑by‑step process of creating a new Topic in Know Streaming, highlights the clean UI, explains default cleanup policies, shows how to test message size, and describes additional dynamic configuration options.
Operation Process
① Click **Add Topic**.
② Fill in the basic information and configuration for the Topic.
③ Click **Confirm** to create the Topic successfully.
Highlights
The interface is simple and clear, allowing you to create a new Topic very quickly. Beyond the basic function, you can also perform fine‑grained custom configurations for each Topic.
Cleanup Policy Configuration
By default, a regular Topic uses the delete cleanup policy, while the internal __consumer_offset Topic uses compact. delete: expired messages are removed directly. compact: messages are compacted; for identical keys, only the latest value is retained. For example, __consumer_offset records the offset of a consumer group. Each time the group writes an offset, the key stays the same but the value changes, so reading the key returns the most recent offset. Expired messages are cleaned up, deleting older entries.
Testing Message Size
If you need to set a specific size for the Topic but are unsure of the message size, Know Streaming provides a calculation window.
Insert image description here.
Insert image description here.
When you paste your message payload into the window, the system automatically displays the byte usage, giving you a reference for configuring parameter attributes.
Additional Custom Attribute Configuration
The configurations below apply only to the specific Topic and are all dynamic properties.
For details on dynamic configuration, see the article on Kafka's dynamic configuration management.
ShiZhen AI
Tech blogger with over 10 years of experience at leading tech firms, AI efficiency and delivery expert focusing on AI productivity. Covers tech gadgets, AI-driven efficiency, and leisure— AI leisure community. 🛰 szzdzhp001
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.
