Skip to content

Add raw_data option for event_stream method #189

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

Merged
merged 2 commits into from
Apr 19, 2017

Conversation

fengyehong
Copy link
Contributor

This is just a proposal. If you just store events in a message queue and leave it to other consumers, then there is no need to parse the event data as MarathonEvent object

@solarkennedy
Copy link
Contributor

How but just raw instead of raw_data? But Yea I would merge

@fengyehong
Copy link
Contributor Author

updated and rebased

@solarkennedy
Copy link
Contributor

Why is travis not testing this?...

When handling events asynchronously, you may just want to put
event data in a message queue, so getting raw data here is a small
optimization that saves parsing and serializing event data.
@fengyehong
Copy link
Contributor Author

Why is travis not testing this?...

No idea

@solarkennedy
Copy link
Contributor

I've asked travisci and @mbabineau to turn it off and on again.

In the mean time can you run the tests locally via tox and confirm that they pass?

@fengyehong
Copy link
Contributor Author

In fact, I have received Travis build success email for my forked repo

https://github.com/fengyehong/marathon-python/branches

@solarkennedy solarkennedy merged commit 1e78725 into thefactory:master Apr 19, 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