Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Kafka bind address fixed #28
Conversation
petevg
added some commits
Jul 20, 2016
kwmonroe
reviewed
Jul 21, 2016
| @@ -33,9 +33,19 @@ def setUpClass(cls): | ||
| cls.d.configure('openjdk', {'java-type': 'jdk', | ||
| 'java-major': '8'}) | ||
| - cls.d.relate('kafka:zookeeper', 'zk:zkclient') | ||
| + try: |
kwmonroe
Jul 21, 2016
Member
Let's just be backwards compatible without the try/except. Can we rename the relation to zookeeper instead of zkclient in the current bigtop zookeeper charm?
johnsca
Jul 22, 2016
Owner
+1 to renaming the relation to be consistent. We haven't promulgated that yet, have we?
petevg
Jul 22, 2016
I believe that the old relation is "zkclient". The new relation is "zookeeper", which matches the name in the promulgated apache-zookeeper.
Basically, we decided not to be backwards compatible before my time :-p
I can change the new relation to be zkclient if you want, though.
johnsca
merged commit 63c8a7c
into
kafka
Jul 22, 2016
kwmonroe
deleted the
kafka-bind-address-fixed
branch
Aug 11, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
petevg commentedJul 21, 2016
@juju-solutions/bigdata
This is one of three pull requests for setting up the ability to bind kafka to an interface/ip address. I've run bundletester with the following permutations of 'bind_addr' in config.yaml:
My juju fu is not strong enough to setup a second interface on a machine and bind to that, but the above three tests do seem to indicate that the code does what I think that it does.
As part of this work, I also fixed up the kafka tests. It should be easy to get them to run, even if you aren't paying attention to anything other than having the right branch of layer-apache-bigtop-base checked out locally. (The branch is 'kafka-bind-address', incidentally)