Class RocketMQConstants


  • public final class RocketMQConstants
    extends Object
    • Field Detail

      • TOPIC

        @Metadata(label="consumer",
                  description="Topic of message",
                  javaType="String")
        public static final String TOPIC
        See Also:
        Constant Field Values
      • TAG

        @Metadata(label="consumer",
                  description="Tag of message",
                  javaType="String")
        public static final String TAG
        See Also:
        Constant Field Values
      • KEY

        @Metadata(label="consumer",
                  description="Key of message",
                  javaType="String")
        public static final String KEY
        See Also:
        Constant Field Values
      • OVERRIDE_TOPIC_NAME

        @Metadata(label="producer",
                  description="If this header is set, the message will be routed to the topic specified by this header\ninstead of the origin topic in endpoint.",
                  javaType="String")
        public static final String OVERRIDE_TOPIC_NAME
        See Also:
        Constant Field Values
      • OVERRIDE_TAG

        @Metadata(label="producer",
                  description="If this header is set, the message\'s tag will be set to value specified by this header\ninstead of the sendTag defined in endpoint.",
                  javaType="String")
        public static final String OVERRIDE_TAG
        See Also:
        Constant Field Values
      • OVERRIDE_MESSAGE_KEY

        @Metadata(label="producer",
                  description="Set keys for the message. When using in-out pattern,\nthe value will be prepended to the generated keys",
                  javaType="String")
        public static final String OVERRIDE_MESSAGE_KEY
        See Also:
        Constant Field Values
      • BROKER_NAME

        @Metadata(label="consumer",
                  description="Broker name",
                  javaType="String")
        public static final String BROKER_NAME
        See Also:
        Constant Field Values
      • QUEUE_ID

        @Metadata(label="consumer",
                  description="Queue ID",
                  javaType="int")
        public static final String QUEUE_ID
        See Also:
        Constant Field Values
      • STORE_SIZE

        @Metadata(label="consumer",
                  description="Store size",
                  javaType="int")
        public static final String STORE_SIZE
        See Also:
        Constant Field Values
      • QUEUE_OFFSET

        @Metadata(label="consumer",
                  description="Queue offset",
                  javaType="long")
        public static final String QUEUE_OFFSET
        See Also:
        Constant Field Values
      • SYS_FLAG

        @Metadata(label="consumer",
                  description="Sys flag",
                  javaType="int")
        public static final String SYS_FLAG
        See Also:
        Constant Field Values
      • BORN_TIMESTAMP

        @Metadata(label="consumer",
                  description="Born timestamp",
                  javaType="long")
        public static final String BORN_TIMESTAMP
        See Also:
        Constant Field Values
      • BORN_HOST

        @Metadata(label="consumer",
                  description="Born host",
                  javaType="java.net.SocketAddress")
        public static final String BORN_HOST
        See Also:
        Constant Field Values
      • STORE_TIMESTAMP

        @Metadata(label="consumer",
                  description="Store timestamp",
                  javaType="long")
        public static final String STORE_TIMESTAMP
        See Also:
        Constant Field Values
      • STORE_HOST

        @Metadata(label="consumer",
                  description="Store host",
                  javaType="java.net.SocketAddress")
        public static final String STORE_HOST
        See Also:
        Constant Field Values
      • MSG_ID

        @Metadata(label="consumer",
                  description="Msg ID",
                  javaType="String")
        public static final String MSG_ID
        See Also:
        Constant Field Values
      • COMMIT_LOG_OFFSET

        @Metadata(label="consumer",
                  description="Commit log offset",
                  javaType="long")
        public static final String COMMIT_LOG_OFFSET
        See Also:
        Constant Field Values
      • BODY_CRC

        @Metadata(label="consumer",
                  description="Body CRC",
                  javaType="int")
        public static final String BODY_CRC
        See Also:
        Constant Field Values
      • RECONSUME_TIMES

        @Metadata(label="consumer",
                  description="Reconsume times",
                  javaType="int")
        public static final String RECONSUME_TIMES
        See Also:
        Constant Field Values
      • PREPARED_TRANSACTION_OFFSET

        @Metadata(label="consumer",
                  description="Prepard transaction offset",
                  javaType="long")
        public static final String PREPARED_TRANSACTION_OFFSET
        See Also:
        Constant Field Values