20.3.2.3. 使用 Kamel CLI 的步骤

使用以下命令配置并运行操作:

kamel bind --name has-header-filter-action-binding timer-source?message="Hello" --step insert-header-action -p "step-0.name=my-header" -p "step-0.value=my-value" --step has-header-filter-action -p "step-1.name=my-header" kafka.strimzi.io/v1beta1:KafkaTopic:my-topic

这个命令会在集群的当前命名空间中创建 KameletBinding。