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

未完待续......

相关推荐
天风之翼2 分钟前
搭建一个轻量 Agent Harness——让 AI Agent 安全地执行命令、读写文件
人工智能
雪隐1 小时前
个人电脑玩AI-09让5060 Ti给你打工——让 AI 读懂你的资料
人工智能·后端
大模型真好玩1 小时前
LangChain DeepAgents 速通指南(十)—— DeepAgents Code 智能体服务核心源码解读
人工智能·langchain·agent
网易云信1 小时前
「帝王蟹」企业AI落地实战营西安站落幕:共探“人工智能+”落地深水区
人工智能·agent·产品
阿虎儿1 小时前
本地构建的自定义sandbox-extra镜像推送到沙盒daytona的snapshot列表中
人工智能
网易云信2 小时前
Agent在客服和营销领域走到哪一步了?深度解析3个挑战和5大趋势
人工智能·agent
网易云信2 小时前
AI 融入协作场景,Hermes 接入云信 IM
人工智能·agent
vivo互联网技术2 小时前
ICLR 2026 | 基于后验采样的图像恢复方法LearnIR:人脸去阴影、去雾
人工智能·算法·aigc
饼干哥哥3 小时前
ChatGPT会员掉了,代充黑幕藏不住了
人工智能·操作系统·产品
ZzT3 小时前
Claude Sonnet 5 来了:Opus 级的能力,Sonnet 的价
人工智能·ai编程·claude