mathyourlife / apache_kafka

10 stars 19 forks source link

Allow multiple brokers on the same host #7

Closed mathyourlife closed 9 years ago

mathyourlife commented 9 years ago

Modify the recipe to allow for multiple instances of the broker to operate on the same host by listening to different ports.

mathyourlife commented 9 years ago

Not sure if it is worth overcomplicating the cookbook to add this feature. Is a benefit to this beyond for demo purposes of having multiple brokers?

justizin commented 9 years ago

Maybe run the recipe in three containers?

mathyourlife commented 9 years ago

yeah, three containers/hosts/whatevers seems preferable to adding this

justizin commented 9 years ago

If you want to check out my wrapper cookbook, it has a Vagrantfile which does this:

https://github.com/bitmonk/bitmonk_kafka

It still has issues, this is basically where my PRs are coming from. Probably could be more lightweight with docker instead of virtualenv backend.

vkhatri commented 9 years ago

@MathYourLife +1, adding capability of provisioning more than one broker on a chef node is indeed going to over complicate the cookbook functionality.

i like the cookbook better with a single broker setup per chef node and docker seems like a good candidate to achieve otherwise.

could you please update this issue on which direction we are going?

mathyourlife commented 9 years ago

Closing. Won't fix.