当前位置: 首页 > news >正文

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

未完待续......

http://www.lryc.cn/news/231737.html

相关文章:

  • LLMs可以遵循简单的规则吗?
  • 如何挑选护眼灯?光照均匀度、色温、眩光这3点!
  • python 实验7
  • 日历应用程序 BusyCal mac中文版软件特点
  • 软件测试/测试开发丨接口自动化测试,接口鉴权的多种方式
  • 08 robotframework 修改乱码问题
  • 门店如何设置多个联系电话和营业时间
  • 第5章 字典和结构化数据
  • 2023年咸阳市《网络建设与运维》赛题
  • Spring Cloud Netflix微服务组件-Eureka
  • FreeRTOS_任务创建与删除
  • 什么是Vue的前端微服务架构(Micro Frontends)?
  • 什么是原生IP与广播IP?原生IP有何优势?
  • vnodeToString函数把vnode转为string(innerhtml)
  • 【Halcon】C# HTuple多参数设置小技巧
  • 此芯科技加入绿色计算产业联盟,参编绿色计算产业发展白皮书
  • webrtc 生成unpack_aecdump工具
  • 数据结构第四课 -----线性表之队列
  • 蓝桥杯 第 3 场算法双周赛4,7题
  • 西安有哪些比较好的设计院?西安名企设计院介绍!
  • Java获取Jar、War包路径,并生成可编辑修改的本地配置文件
  • FPGA UDP RGMII 千兆以太网(4)ARP ICMP UDP
  • 【视觉SLAM十四讲学习笔记】第二讲——初识SLAM
  • Python交易-通过Financial Modeling Prep (FMP)选择行业
  • AI创作系统ChatGPT网站源码+详细搭建部署教程+支持DALL-E3文生图/支持最新GPT-4-Turbo-With-Vision-128K多模态模型
  • 快速生成力扣链表题的链表,实现快速调试
  • threejs(13)-着色器设置点材质
  • 计算机网络专栏 学习导航or使用说明
  • git clone:SSL: no alternative certificate subject name matches target host name
  • 代码随想录图论|130. 被围绕的区域 417太平洋大西洋水流问题