hyperledger / firefly-samples

Samples for FireFly
Apache License 2.0
20 stars 26 forks source link

Add example using tags and topics #18

Open nguyer opened 3 years ago

nguyer commented 3 years ago

It would be great to have an example that shows a good use case for tags and topics.

Tags: used as a way to indicate to other members of the network how to process the message. For example, is this a new customer order, or is someone cancelling an order?

Topic: used to ensure related messages are processed sequentially in order. For example, all messages related to a certain customer ID may be put on the same topic. This ensures that everything that customer is doing happens in order, and it also means that specific customer's messages will not block another customer's messages.

lanasta commented 3 years ago

Useful resource that tells you the API to use for this sample app.: https://hyperledger.github.io/firefly/gettingstarted/broadcast_data.html

kmoralesml commented 3 years ago

@lanasta I am commenting to get this issue assigned to me. I have a real world use case that might be good for showcasing Tags and Topic capability.