messaging-apis | Messaging APIs for multi-platform | Bot library
kandi X-RAY | messaging-apis Summary
kandi X-RAY | messaging-apis Summary
Messaging APIs is a mono repo which collects APIs needed for bot development. It helps you build your bots using similar API for multiple platforms, e.g. Messenger, LINE. Learn once and make writing cross-platform bots easier. If you are looking for a framework to build your bots, Bottender may suit for your needs. It is built on top of Messaging APIs and provides some powerful features for bot building.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of messaging-apis
messaging-apis Key Features
messaging-apis Examples and Code Snippets
Community Discussions
Trending Discussions on messaging-apis
QUESTION
The idea is to send messages to topic and consume them in stripes via pub/sub only (without queues) and using PERSISTENT delivery mode. For simplicity, lets say producer(s) publish messages to specific topics having the following hierarchy: bus/
.
Consumers want to receive topic "stripes", for simplicity lets say there are 10 consumers and they want to stripe traffic among themselves by transactionId:
bus/*/0*
bus/*/1*
- ...
bus/*/9*
When I try to subscribe to topic endpoint using wildcards, like this:
...ANSWER
Answered 2017-Nov-21 at 02:38There are two problems here.
You are trying to create an
TopicEndpoint
namedbus/*/1*
. Note that this is the name of theTopicEndpoint
and not the topic that it is subscribing to.*
is not a valid character for the name of aTopicEndpoint
.TopicEndpoints
are only allowed to have one subscription. This means that you can only subscribe tobus/*/0*
. If you want to subscribe tobus/*/0*
all the way tobus/*/9*
you will need to make use of aQueue
instead of aTopicEndpoint
.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install messaging-apis
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page