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

未完待续......

相关推荐
东离与糖宝6 分钟前
Spring Boot 3 + Qwen 3.5 最佳实践:从接口调用到 RAG 向量检索一站式开发
java·人工智能
kisshuan1239618 分钟前
[特殊字符] MangaLens:AI精准识别漫画气泡,对话内容一目了然
人工智能
电子科技圈18 分钟前
从工具到平台:如何化解跨架构时代的工程开发和管理难题
人工智能·设计模式·架构·编辑器·软件工程·软件构建·设计规范
zhangshuang-peta21 分钟前
加密MCP保险库:人工智能系统中安全凭证管理的关键
人工智能·安全·chatgpt·ai agent·mcp·peta
yuhaiqiang29 分钟前
太牛了🐂,再也没有被AI 骗过,自从用了这个外挂 !必须装上
javascript·人工智能·后端
GISer_Jing31 分钟前
Agent技术深度解析:LLM增强智能体架构与优化
前端·人工智能·架构·aigc
冬奇Lab35 分钟前
一天一个开源项目(第48篇):Agent-Reach - 给 AI Agent 装上互联网能力,零 API 费用支持 Twitter、Reddit、YouTub
人工智能·开源·资讯
济61736 分钟前
ARM Linux 驱动开发篇--- Linux 并发与竞争实验(互斥体实现 LED 设备互斥访问)--- Ubuntu20.04互斥体实验
linux·stm32·嵌入式linux驱动开发
星爷AG I40 分钟前
14-3 开环控制和闭环控制(AGI基础理论)
人工智能·agi
总有刁民想爱朕ha41 分钟前
OpenClaw + 钉钉:打造企业级AI智能助手,让工作更高效
人工智能·钉钉·openclaw