0
点赞
收藏
分享

微信扫一扫

c# Excel转换成DataSet

mjjackey 03-01 13:30 阅读 4

一、ActiveMQ Artemis介绍

Apache ActiveMQ Artemis 是一个高性能的开源消息代理,它完全符合 Java Message Service (JMS) 2.0 规范,并支持多种通信协议,包括 AMQP、MQTT、STOMP 和 OpenWire 等。ActiveMQ Artemis 由 Apache Software Foundation 开发和维护,旨在提供可靠的消息传递解决方案,适用于各种异步通信场景。
在这里插入图片描述
bin- 运行 ActiveMQ Artemis 所需的二进制文件和脚本。
examples- 各种例子。
lib- 运行 ActiveMQ Artemis 所需的 jar 和库
schema- 用于验证 ActiveMQ Artemis 配置文件的 XML 模式
web- 代理运行时加载 Web 上下文的文件夹。
api- api 文档放在 web 文件夹下。
user-manual- 用户手册位于 web 文件夹下。

二、k8s 部署activemq artemis

官方镜像地址
https://hub.docker.com/r/apache/activemq-artemis/tags

apiVersion: v1
kind: Service
metadata:
  name: nodeport-activemq
spec:
  selector:
    app: activemq
  ports:
    - port: 8161
      targetPort: 8161
      nodePort: 30066   
      name: admin
      protocol: TCP
    - port: 61616
      targetPort: 61616
      nodePort: 30067
      protocol: TCP
      name: tcp  
    - port: 1883
      targetPort: 1883
      nodePort: 30068
      protocol: TCP
      name: tcp2 
  type: NodePort
---
apiVersion: apps/v1
kind: Deployment
metadata:
  name: deploy-activemq
spec:
  replicas: 1
  selector:
    matchLabels:
      app: activemq
  template:
    metadata:
      labels:
        app: activemq
    spec:
      nodeName: k8s-work01
      containers:
      - name: activemq
        image: apache/activemq-artemis:latest
        ports:
          - containerPort: 8161  #web端口
            protocol: TCP
          - containerPort: 61616  #服务端端口
            protocol: TCP
          - containerPort: 1883  #MQTT端口
            protocol: TCP

AMQP端口:默认为5672端口,用于AMQP(高级消息队列协议)的通信。

OpenWire端口:默认为61616端口,用于OpenWire协议的通信,OpenWire是ActiveMQ自身的二进制协议。

STOMP端口:默认为61613端口,用于STOMP(简单文本协议)的通信。

HornetQ Core端口:默认为5445端口,用于HornetQ Core协议的通信。

Web管理端口:默认为8161端口,用于访问Web管理控制台。

JMX端口:默认为1099端口,用于Java管理扩展的远程管理。
MQTT端口:端口1883通常用于MQTT的非加密通信,而端口8883通常用于MQTT的加密通信(通过TLS/SSL)。

持续更新中关注不迷糊。。。

举报

相关推荐

0 条评论