Adding Rake-based toolchain to bootstrap, build, and control NGINX #6
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request adds a Rake-based toolchain that was adapted from the system in this tutorial. This adds the following tools:
So now, assuming the dependencies of librdkafka are available on the system, getting the module up and running looks like this:
Additionally:
The nginx.conf file I checked in only has one location endpoint, whereas the previous example in the README had two location endpoints with separate topics. I went with one because I thought it lowered the barrier to start and test for a brand new user, but having two endpoints had the advantage of showing clearly that separate endpoints can write to different topics. If you like the changes in this PR but want a bigger example in the nginx.conf, let me know.
Like I said in PR #4, don't hesitate to decline this if you don't like the direction it's going. I just wanted to contribute back since your code helped me.