Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kafka - Support in webhooks. #152

Merged
merged 3 commits into from
Mar 6, 2017
Merged

Conversation

m1ome
Copy link
Contributor

@m1ome m1ome commented Mar 2, 2017

Agenda

Issue solving: #109
External dependency: sarama
Supported versions of Kafka: 0.8, 0.9, 0.10

Configuration

SETHOOK kafka kafka://127.0.0.1/tile NEARBY fleet FENCE POINT 30 30 500

Port by default is: 9092
URI schema is: kafka://<ip>[:<port>]/<topic>

Events

{  
  "partition":0,
  "offset":4,
  "key":"",
  "value":"{\"command\":\"set\",\"group\":\"58b837497784048f342cd675\",\"detect\":\"inside\",\"hook\":\"kafka\",\"key\":\"fleet\",\"time\":\"2017-03-02T18:16:25.685026018+03:00\",\"id\":\"truck1\",\"object\":{\"type\":\"Point\",\"coordinates\":[30,30]}}"
}

@tidwall any thoughts?

@tidwall tidwall merged commit 790c660 into tidwall:master Mar 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants