connection.yaml 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. mqtt:
  2. localConnection: #connection key
  3. server: "tcp://127.0.0.1:1883"
  4. username: ekuiper
  5. password: password
  6. #certificationPath: /var/kuiper/xyz-certificate.pem
  7. #privateKeyPath: /var/kuiper/xyz-private.pem.key
  8. #rootCaPath: /var/kuiper/xyz-rootca.pem
  9. #insecureSkipVerify: false
  10. #protocolVersion: 3
  11. cloudConnection: #connection key
  12. server: "tcp://broker.emqx.io:1883"
  13. username: user1
  14. password: password
  15. #certificationPath: /var/kuiper/xyz-certificate.pem
  16. #privateKeyPath: /var/kuiper/xyz-private.pem.ke
  17. #rootCaPath: /var/kuiper/xyz-rootca.pem
  18. #insecureSkipVerify: false
  19. #protocolVersion: 3
  20. edgex:
  21. redisMsgBus: #redis connection key
  22. protocol: redis
  23. server: 127.0.0.1
  24. port: 6379
  25. type: redis
  26. # Below is optional configurations settings for mqtt
  27. # type: mqtt
  28. # optional:
  29. # ClientId: client1
  30. # Username: user1
  31. # Password: password
  32. # Qos: 1
  33. # KeepAlive: 5000
  34. # Retained: true/false
  35. # ConnectionPayload:
  36. # CertFile:
  37. # KeyFile:
  38. # CertPEMBlock:
  39. # KeyPEMBlock:
  40. # SkipCertVerify: true/false
  41. mqttMsgBus: #connection key
  42. protocol: tcp
  43. server: 127.0.0.1
  44. port: 1883
  45. type: mqtt
  46. optional:
  47. KeepAlive: "50"
  48. zeroMsgBus: #connection key
  49. protocol: tcp
  50. server: localhost
  51. port: 5571
  52. type: zero
  53. natsMsgBus: #connection key
  54. protocol: tcp
  55. server: edgex-nats-server
  56. port: 4222
  57. type: nats-jetstream
  58. # optional:
  59. # ClientId ="<service-key>" # must be unique name of the service, thus the service key (core-data, etc) is used
  60. # # Connection information
  61. # Format = "nats" # Use 'json' for backward compatability with services using MQTT
  62. # ConnectTimeout = "5" # Seconds
  63. # RetryOnFailedConnect = "true"
  64. # QueueGroup = ""
  65. # Durable = "" # Jetstream only
  66. # AutoProvision = "true" # Jetstream only
  67. # Deliver = "new" # Jetstream only