10.3.2.3. 使用 Kamel CLI 的步骤

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

kamel bind aws-sqs-source -p "source.accessKey=The Access Key" -p "source.queueNameOrArn=The Queue Name" -p "source.region=eu-west-1" -p "source.secretKey=The Secret Key" kafka.strimzi.io/v1beta1:KafkaTopic:my-topic

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