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

Need new Avro Schema for following format #11

Open
isaacmg opened this issue Apr 24, 2017 · 1 comment
Open

Need new Avro Schema for following format #11

isaacmg opened this issue Apr 24, 2017 · 1 comment

Comments

@isaacmg
Copy link
Owner

isaacmg commented Apr 24, 2017

We need an Avro schema that can deal with something like the following:
{'from': {'name': 'Elizabeth Austen', 'id': '10212551456802570'}, 'link': 'https://www.facebook.com/events/259740027809063/permalink/276873696095696/', 'created_time': '2017-04-21T16:35:29+0000', 'type': 'link', 'name': 'Daniel', 'id': '1043983518950523_1649940175021518', 'shares': {'count': 1}, 'reactions': {'data': [], 'summary': {'total_count': 2, 'viewer_reaction': 'NONE'}}, 'comments': {'data': [], 'summary': {'order': 'chronological', 'total_count': 0, 'can_comment': False}}, 'group_id': '1043983518950523', 'reacts': {'data': [{'id': '10155178339184493', 'type': 'LIKE'}, {'id': '612725696831', 'type': 'LIKE'}], 'paging': {'cursors': {'before': 'TlRVNE1EVTVORGt5T2pFME9USTRNREl3TlRZANk1qVTBNRGsyTVRZAeE13PT0ZD', 'after': 'TVRJd01EQXdNVEF5T2pFME9USTNPVE13TlRnNk1qVTBNRGsyTVRZAeE13PT0ZD'}}}}

@isaacmg
Copy link
Owner Author

isaacmg commented Apr 25, 2017

Temporarily reverted back to old JSON message in order to keep Kafka running. As soon as we have a proper schema will use this. Any help is appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant