deepstream-测试发送AMQP

1. 安装库

* glib 2.0


sudo apt-get install libglib2.0 libglib2.0-dev

Install rabbitmq-c library


sudo apt-get install librabbitmq-dev

If you plan to have AMQP broker installed on your local machine


sudo apt-get install rabbitmq-server

2. 启动sever

service rabbitmq-server start

* Starting RabbitMQ Messaging Server rabbitmq-server

root@xx:/opt/nvidia/deepstream/deepstream-6.3# service rabbitmq-server status

Status of node rabbit@xx...

Runtime

OS PID: 21937

OS: Linux

Uptime (seconds): 336

RabbitMQ version: 3.8.2

Node name: rabbit@xx

Erlang configuration: Erlang/OTP 22 [erts-10.6.4] [source] [64-bit] [smp:24:24] [ds:24:24:10] [async-threads:384]

Erlang processes: 279 used, 1048576 limit

Scheduler run queue: 1

Cluster heartbeat timeout (net_ticktime): 60

Plugins

Enabled plugin file: /etc/rabbitmq/enabled_plugins

Enabled plugins:

Data directory

Node data directory: /var/lib/rabbitmq/mnesia/rabbit@xx

Config files

Log file(s)

* /var/log/rabbitmq/rabbit@xx.log

* /var/log/rabbitmq/rabbit@xx.log

Alarms

(none)

Memory

Calculation strategy: rss

Memory high watermark setting: 0.4 of available memory, computed to: 54.0256 gb

other_system: 0.0353 gb (29.28 %)

other_proc: 0.028 gb (23.25 %)

code: 0.0268 gb (22.19 %)

allocated_unused: 0.0258 gb (21.4 %)

other_ets: 0.0027 gb (2.23 %)

atom: 0.0014 gb (1.19 %)

metrics: 0.0002 gb (0.16 %)

binary: 0.0002 gb (0.16 %)

mnesia: 0.0001 gb (0.06 %)

quorum_ets: 0.0 gb (0.04 %)

msg_index: 0.0 gb (0.02 %)

plugins: 0.0 gb (0.01 %)

connection_channels: 0.0 gb (0.0 %)

connection_other: 0.0 gb (0.0 %)

connection_readers: 0.0 gb (0.0 %)

connection_writers: 0.0 gb (0.0 %)

mgmt_db: 0.0 gb (0.0 %)

queue_procs: 0.0 gb (0.0 %)

queue_slave_procs: 0.0 gb (0.0 %)

quorum_queue_procs: 0.0 gb (0.0 %)

reserved_unallocated: 0.0 gb (0.0 %)

File Descriptors

Total: 2, limit: 1048479

Sockets: 0, limit: 943629

Free Disk Space

Low free disk space watermark: 0.05 gb

Free disk space: 64.7967 gb

Totals

Connection count: 0

Queue count: 0

Virtual host count: 1

Listeners

Interface: [::], port: 25672, protocol: clustering, purpose: inter-node and CLI tool communication

Interface: [::], port: 5672, protocol: amqp, purpose: AMQP 0-9-1 and AMQP 1.0

3. 设置nvbroker插件

msgbroker.set_property('proto-lib', "/opt/nvidia/deepstream/deepstream/lib/libnvds_amqp_proto.so")

msgbroker.set_property('config', args.msgbroker_config_path) //默认的cfg_amqp.txt

未完待续......

相关推荐
keyipatience2 分钟前
Linux进程调度与优先级机制解析
linux·运维·服务器
HIT_Weston3 分钟前
80、【Agent】【OpenCode】bash 工具提示词(专用工具)
人工智能·agent·opencode
深度森林5 分钟前
医学应用“手术机器人导航”高价值专利案例:基于计算机视觉的临床手术机器人导航规划方法
人工智能·计算机视觉·机器人
许彰午6 分钟前
# OCR与语音识别——政务AI的两个实用场景
人工智能·ocr·语音识别
xixixi777777 分钟前
《机密计算破局政务金融、截图工具漏洞泄露NTLM哈希、智能体仿冒日增200+:AI安全的三场“攻防战”》
人工智能·安全·ai·金融·大模型·政务·合规
技术路线图10 分钟前
教学智慧的数字围城:当专业积累遭遇人工智能认知屏蔽
人工智能·搜索引擎
广州创科水利12 分钟前
广州创科:以硬核科技与全栈能力,守护边坡安全监测防线
大数据·网络·人工智能
kishu_iOS&AI12 分钟前
NLP - Transformer原理解析
人工智能·自然语言处理·transformer
IT大白鼠14 分钟前
Linux系统中应用程序安装及管理
linux·服务器
啦啦啦_999915 分钟前
2. PyTorch框架
人工智能·pytorch·python