You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

请求提供rpk topic create命令的主题配置规范参考文档及选项获取指引

How to Find Redpanda Topic Configuration Options for rpk topic create

Hey there! I totally get the frustration of trying to track down the full list of topic config options for Redpanda when using rpk topic create with the -c/--topic-config flag— it’s annoying that the docs don’t link directly to that list. Let me share a few solid ways to get this info, right from your setup or official resources:

  • Pull the list directly via rpk (most reliable):
    Redpanda’s own rpk tool has a built-in command to list every supported topic-level configuration, complete with default values, data types, and descriptions. Just run this in your terminal:

    rpk topic config list
    

    This is the most up-to-date source because it pulls directly from your Redpanda cluster’s current version, so you’ll see exactly what’s available for your setup.

  • Use Kafka compatibility + Redpanda-specific docs:
    Redpanda is fully Kafka API-compatible, so almost all standard Kafka topic configurations work seamlessly with it. For Redpanda-exclusive tweaks (like tiered storage or partition auto-balancing settings), head to the official Redpanda docs and search for "Topic Configuration"— you’ll find a dedicated section that breaks down both standard and Redpanda-specific options. Key Redpanda-only configs to look out for include redpanda.remote.write (for tiered storage) and redpanda.partition_autobalance_mode (for automated partition balancing).

  • Use Kafka’s kafka-configs tool (if you have it):
    Since Redpanda supports Kafka’s admin APIs, you can use the kafka-configs.sh utility (from a standard Kafka distribution) to inspect configs for an existing topic. Run this command (swap in your broker address and topic name):

    kafka-configs.sh --bootstrap-server <your-redpanda-broker>:9092 --entity-type topics --describe --entity-name <your-topic-name>
    

    This will show you all applied and default configs for the topic, including both standard Kafka and Redpanda-specific ones.

内容的提问来源于stack exchange,提问作者Notinlist

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.04.30 14:44:07