kimi
2020-05-18 c8aee7b9bfd79cfd741d7e5692520f4f51a31a86
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
package com.highdatas.mdm.util.pool;
 
/**
 * @author kimi
 * @description
 * @date 2020-04-21 9:49
 */
 
 
public class MqResult {
 
    /**
     * code : 200
     * msg : 消息发送成功
     * data : {"sendStatus":"SEND_OK","msgId":"C0A804C303E118B4AAC25FB7E22F0002","messageQueue":{"topic":"DATA","brokerName":"BryantdeMacBook-Pro.local","queueId":2},"queueOffset":2,"transactionId":null,"offsetMsgId":"C0A804C300002A9F000000000002CB0E","regionId":"DefaultRegion","traceOn":true}
     */
 
    private String code;
    private String msg;
    private DataBean data;
 
    public String getCode() {
        return code;
    }
 
    public void setCode(String code) {
        this.code = code;
    }
 
    public String getMsg() {
        return msg;
    }
 
    public void setMsg(String msg) {
        this.msg = msg;
    }
 
    public DataBean getData() {
        return data;
    }
 
    public void setData(DataBean data) {
        this.data = data;
    }
 
    public static class DataBean {
        /**
         * sendStatus : SEND_OK
         * msgId : C0A804C303E118B4AAC25FB7E22F0002
         * messageQueue : {"topic":"DATA","brokerName":"BryantdeMacBook-Pro.local","queueId":2}
         * queueOffset : 2
         * transactionId : null
         * offsetMsgId : C0A804C300002A9F000000000002CB0E
         * regionId : DefaultRegion
         * traceOn : true
         */
 
        private String sendStatus;
        private String msgId;
        private MessageQueueBean messageQueue;
        private int queueOffset;
        private Object transactionId;
        private String offsetMsgId;
        private String regionId;
        private boolean traceOn;
 
        public String getSendStatus() {
            return sendStatus;
        }
 
        public void setSendStatus(String sendStatus) {
            this.sendStatus = sendStatus;
        }
 
        public String getMsgId() {
            return msgId;
        }
 
        public void setMsgId(String msgId) {
            this.msgId = msgId;
        }
 
        public MessageQueueBean getMessageQueue() {
            return messageQueue;
        }
 
        public void setMessageQueue(MessageQueueBean messageQueue) {
            this.messageQueue = messageQueue;
        }
 
        public int getQueueOffset() {
            return queueOffset;
        }
 
        public void setQueueOffset(int queueOffset) {
            this.queueOffset = queueOffset;
        }
 
        public Object getTransactionId() {
            return transactionId;
        }
 
        public void setTransactionId(Object transactionId) {
            this.transactionId = transactionId;
        }
 
        public String getOffsetMsgId() {
            return offsetMsgId;
        }
 
        public void setOffsetMsgId(String offsetMsgId) {
            this.offsetMsgId = offsetMsgId;
        }
 
        public String getRegionId() {
            return regionId;
        }
 
        public void setRegionId(String regionId) {
            this.regionId = regionId;
        }
 
        public boolean isTraceOn() {
            return traceOn;
        }
 
        public void setTraceOn(boolean traceOn) {
            this.traceOn = traceOn;
        }
 
        public static class MessageQueueBean {
            /**
             * topic : DATA
             * brokerName : BryantdeMacBook-Pro.local
             * queueId : 2
             */
 
            private String topic;
            private String brokerName;
            private int queueId;
 
            public String getTopic() {
                return topic;
            }
 
            public void setTopic(String topic) {
                this.topic = topic;
            }
 
            public String getBrokerName() {
                return brokerName;
            }
 
            public void setBrokerName(String brokerName) {
                this.brokerName = brokerName;
            }
 
            public int getQueueId() {
                return queueId;
            }
 
            public void setQueueId(int queueId) {
                this.queueId = queueId;
            }
        }
    }
}