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

未完待续......

相关推荐
小和尚同志3 小时前
小黑插图 Skill:从 11.7k star 的 Codex 专属,到 Claude Code 能用的平替
人工智能·aigc
高洁013 小时前
孪生不止在工厂:能源、医疗与农业
人工智能·深度学习·transformer·知识图谱·tornado
外域速览4 小时前
智谱50亿美元押注AI自训练
大数据·人工智能
人工智能培训4 小时前
孪生不止在工厂:能源、医疗与农业
大数据·人工智能
bosins4 小时前
彻底解决 WSL 2.7+ 空闲自动关闭/内存回收导致 Docker 中断的问题
linux·docker·wsl·dashboard
LongRunning4 小时前
【Linux】H3网络(二)
linux
米小虾4 小时前
让模型说"我不知道",比让它答对更难:放弃文本生成能换来什么
人工智能
新新学长搞科研4 小时前
【SPIE出版】2026年人工智能、新材料与新能源国际学术会议(AINMNE 2026)
人工智能·新能源·新材料
野生技术架构师4 小时前
2026 Java 面试全套总结,八股 + 场景 + AI 相关面试考点
java·人工智能·面试
米小虾5 小时前
不写出来的思考:把 Transformer 的层循环起来,是第三条 scaling 轴还是省错了地方?
人工智能