Re: Deep dive on the topic() streaming expression

2016-12-13 Thread Hemant Purswani
Thanks for the explanation, Joel. I tried topic function today and it's working great. But I think it lacks something that I will be needing for my use case. Currently, it returns response in the following format. As you can see, it's not returning topicId. { "result-set": { "docs": [ { "id": "1

Re: Deep dive on the topic() streaming expression

2016-12-13 Thread Joel Bernstein
First a brief description of how the topic expression works. The topic expression allows you to subscribe to a query. Below is how it works internally. The topic expression maps to the TopicStream in the java Streaming API. So I encourage people who are interested to review this code. Under the