Re: Kafka Streaming Join for range of gps coordinates

2016-08-30 Thread Guozhang Wang
Hello Farhon, I think your idea about KStream-KTable join is a good approach with some tweaks, more specifically: 1. Model your rider request as a normal record stream with the combo key of (latitude, longitude). 2. Model your driver location as an ever-updating table with the combo key of (lati

Re: Kafka Streaming Join for range of gps coordinates

2016-08-29 Thread Michael Noll
Quick reply only, since I am on my mobile. Not an exact answer to your problem but still somewhat related: http://www.infolace.com/blog/2016/07/14/simple-spatial-windowing-with-kafka-streams/ (perhaps you have seen this already). -Michael On Sun, Aug 28, 2016 at 4:55 AM, Farhon Zaharia wrote:

Kafka Streaming Join for range of gps coordinates

2016-08-27 Thread Farhon Zaharia
Hello friends, I am designing a new streaming component and am looking at how to use Kafka Streams. I need some guidance with the appropriate flow. *Problem to solve:* The problem I am working on is I have a large group of riders and drivers. I would like to match available riders to nearby driv