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

未完待续......

相关推荐
金融Tech趋势派2 分钟前
企业微信私有化服务商怎么选?从数据安全与定制化需求看适配方向
大数据·人工智能·金融·企业微信·零售
IT_陈寒12 分钟前
Python开发者必看:这5个鲜为人知的Pandas技巧让你的数据处理效率提升50%
前端·人工智能·后端
艾莉丝努力练剑14 分钟前
【Linux权限 (二)】Linux权限机制深度解析:umask如何决定默认权限与粘滞位的妙用
大数据·linux·服务器·c++·ubuntu·centos·1024程序员节
YF云飞17 分钟前
AI编程:氛围狂欢还是工程灾难?
人工智能
光锥智能21 分钟前
具身智能3D数字人开放平台「星云」发布:魔珐科技让AI第一次拥有“身体”
人工智能·科技·3d
sendnews29 分钟前
红松APP首秀北京老博会,“有温度的科技”赋能退休兴趣生活
人工智能·物联网
美团技术团队36 分钟前
ICCV 2025 | 美团论文精选及多模态推理竞赛冠军方法分享
人工智能
wwlsm_zql41 分钟前
百度文心大模型再攀高峰:飞桨赋能AI,深度学习实力见证
人工智能·百度·paddlepaddle
王者鳜錸1 小时前
基于Selenium和AI的图像处理
图像处理·人工智能·selenium
song150265372981 小时前
全检垫圈垫片 视觉检测设备 在线自动化瑕疵检测机
人工智能·自动化·视觉检测