59
59
- ` Binary ` - Sequence of bytes.
60
60
- ` KeyValue ` - ` String ` -indexed dictionary of ` String ` -typed or ` Binary ` -typed or ` Numeric ` -typed values
61
61
- ` Numeric ` :
62
- - ` Short ` - Integer in the range -(2^15) to 2^15 - 1 inclusive.
63
- - ` Integer ` - Integer in the range -(2^31) to 2^31 - 1 inclusive.
64
- - ` Long ` - Integer in the range -(2^63) to 2^63 - 1 inclusive.
65
- - ` Float ` - A 32-bit floating point number (binary32 [ IEEE754] ( http://ieeexplore.ieee.org/servlet/opac?punumber=4610933 ) ).
66
- - ` Double ` - A 64-bit floating point number (binary64 [ IEEE754] ( http://ieeexplore.ieee.org/servlet/opac?punumber=4610933 ) ).
62
+ - ` Short ` - Integer in the range -(2^15) to 2^15 - 1 inclusive.
63
+ - ` Integer ` - Integer in the range -(2^31) to 2^31 - 1 inclusive.
64
+ - ` Long ` - Integer in the range -(2^63) to 2^63 - 1 inclusive.
65
+ - ` Float ` - A 32-bit floating point number (binary32 [ IEEE754] ( http://ieeexplore.ieee.org/servlet/opac?punumber=4610933 ) ).
66
+ - ` Double ` - A 64-bit floating point number (binary64 [ IEEE754] ( http://ieeexplore.ieee.org/servlet/opac?punumber=4610933 ) ).
67
67
- ` Object ` - Either a ` String ` , or a ` Binary ` , or a ` KeyValue ` , or a ` Numeric `
68
68
- ` URI ` - String expression conforming to ` URI-reference `
69
69
as defined in
134
134
#### 2.3.4 qos
135
135
- Type: ` Integer `
136
136
- Description: OpenMessaging defines three modes of message delivery as mentioned before:
137
- ** At least once** : if this value set with 0, a message will be consumed at least once, and this value should be set as default value.
138
- ** At most once** : if this value set with 1, a message will be consumed at most once, in this semantics, messages may be lost.
139
- ** Exactly once** : if this value set with 2, a message will be consumed once and only once.
137
+ + ** At least once** : if this value set with 0, a message will be consumed at least once, and this value should be set as default value.
138
+ + ** At most once** : if this value set with 1, a message will be consumed at most once, in this semantics, messages may be lost.
139
+ + ** Exactly once** : if this value set with 2, a message will be consumed once and only once.
140
140
141
141
142
142
#### 2.3.5 compression
146
146
- Constraints: OPTIONAL
147
147
148
148
#### 2.3.6 destination
149
- -Type: ` String `
150
- -Description: This filed contains the logic destination to which the message is being sent, such as a queue or a topic.
149
+ - Type: ` String `
150
+ - Description: This filed contains the logic destination to which the message is being sent, such as a queue or a topic.
151
151
When a message is sent this value is set to the right queue, then the message will be sent to the specified destination.
152
152
When a message is received, its destination is equivalent to the queue where the message resides in.
153
153
- Constraints: REQUIRED
@@ -163,14 +163,14 @@ be interpreted as described in [RFC 2119](https://tools.ietf.org/html/rfc2119).
163
163
164
164
This document lists the most of common use cases supported by OpenMessaging.
165
165
166
- 1 . P2P
167
- 2 . Publish/Subscribe
168
- 3 . Broadcast
169
- 4 . Highway
170
- 5 . Streaming
171
- 6 . Filter
172
- 7 . Routing
173
- 8 . RPC
166
+ 1 . [ P2P] ( #p2p )
167
+ 2 . [ Publish/Subscribe] ( #publishsubscribe )
168
+ 3 . [ Broadcast] ( #broadcast )
169
+ 4 . [ Highway] ( #highway )
170
+ 5 . [ Streaming] ( #streaming )
171
+ 6 . [ Filter] ( #filter )
172
+ 7 . [ Routing] ( #routing )
173
+ 8 . [ RPC] ( #rpc )
174
174
175
175
### P2P
176
176
@@ -266,4 +266,4 @@ In OpenMessaging, RPC is equal to synchronous message, it isn’t traditional CS
266
266
### Change History
267
267
0.3.0 version created, be compatible with existent runtime API.
268
268
1.0.0-preview version created, change domain model to queue based model, add type system and schema.
269
- 1.0.0-alpha version created, simplify specification and add extension fields.
269
+ 1.0.0-alpha version created, simplify specification and add extension fields.
0 commit comments