Architecture

URIs

qianmoQqianmoQ· 更新于 2026-09-23· 阅读 2 分钟· 0 次阅读

登录后可跨设备保存划线和私人笔记登录

URIs

Camel makes extensive use of URIs to allow you to refer to Endpoints.

For example, consider the following URI:

kafka:cheese?brokers=mykafka:1234&clientId=foo

This endpoint is created by the Kafka component. The URI contains endpoint configurations as context-path and query parameters. In this example, the context-path is cheese which is the kafka topic to use.

The query parameters have two parameters:

  1. brokers=mykafka:1234: the remote Kafka broker to connect to.
  2. clientId=foo: the client id, which is a configuration of the Kafka component

More Information

See also Endpoints

评论

登录后参与评论

正在加载评论…