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

Support direct connections to RabbitMQ #61

Merged
merged 2 commits into from
Apr 20, 2017
Merged

Conversation

binarin
Copy link

@binarin binarin commented Apr 19, 2017

Fixes #60

This opens path to using this library for writing RabbitMQ plugins.
Or as a performance improvements, escpecially when RabbitMQ is being
run in embedded mode.

Sadly there is no way to provide a reliable tests for this feature, as
we need to know both the Erlang node-name of the broker and the Erlang
cookie. And e.g. for Travis with disabled sudo it's not possible.

This opens path to using this library for writing RabbitMQ plugins.
Or as a performance improvements, escpecially when RabbitMQ is being
run in embedded mode.

Sadly there is no way to provide a reliable tests for this feature, as
we need to know both the Erlang node-name of the broker and the Erlang
cookie. And e.g. for Travis with disabled `sudo` it's not possible.
@ono
Copy link
Collaborator

ono commented Apr 19, 2017

@binarin looking awesome!

one request - could you add a test(s) for the function anyway? it'd be also great if you could also add a little note in the test for setting up local env to pass. Don't worry about Travis for now. I will add a tag to the test and make it to be skipped by default.

@binarin
Copy link
Author

binarin commented Apr 20, 2017

I've added a test

@ono
Copy link
Collaborator

ono commented Apr 20, 2017

@binarin Superb!

@ono ono merged commit 61f2fc3 into pma:master Apr 20, 2017
@ono
Copy link
Collaborator

ono commented Apr 20, 2017

@binarin Released 0.2.1 with the change. Thanks for contributing!

/cc @pma

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