module
Version:
v0.4.6
Opens a new window with list of versions in this module.
Published: Mar 31, 2022
License: Apache-2.0
Opens a new window with license information.
README
¶
tkeel core-broker
这是一个对 Core 基础功能封装,从而实现一些需要复杂操作从而满足用户需求的一个代理服务。目前提供了:对设备提供 Websocket 服务、 Subscribe 服务。供平台侧使用。
依赖
首先,该服务为 tKeel 下的一个插件
- 集群模式下的 tKeel 平台
- 一个 MySQL 服务
- tKeel Core 服务
- tKeel Device 服务
- dapr 边车模式开启 core-broker 服务
环境配置
以下是该服务用到的环境变量:
// 该变量用于指定数据订阅生成的 amqp 服务地址指向
export AMQP_SERVER=amqp://tkeel.io:5672
// 用于定义该服务连接的 MySQL 配置 DSN
export DSN=user:pass@tcp(127.0.0.1:3306)/dbname?charset=utf8mb4&parseTime=True&loc=Local
Build
make build
Directories
¶
Click to show internal directories.
Click to hide internal directories.