This repository has been archived by the owner on Nov 24, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 18
Kafka Integration #99
Comments
Adding kafka properties:
|
safwanislam
added a commit
that referenced
this issue
May 1, 2019
In PulseKafkaConsumer.scala - Add proper error handling when an application isn't supplied. We should just throw the message away if this is the case |
afoerster
pushed a commit
that referenced
this issue
May 8, 2019
Instructions I found from earlier that I wanted to save here:
|
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
This story includes all work associated with getting Kafka integration working. It can be broken out as needed into smaller pieces.
Add kafka arguments to LogCollectorCliParser
LogCollectorCliParser
Here is a rough cut:
Verify a mode is chosen and it is valid. To keep backward compatibility, if no mode is chosen it should default to 'http'.
Verify 'port' is chosen with the http listen mode and 'topic' is provided in the kafka listen mode.
Expose Kafka
Branch on the new 'listen-mode' in
LogCollector.scala
to start listening to the kafka topicIntegrate new arguments into
control.sh
Add environment variables in
control.sh
for the new arguments.Create a script in the
bin
directory to run the kafka consume mode by callingcontrol.sh
. This will make it easy to test changes to the scripts and arguments.Create a test producer
Create a test producer that will put events onto a topic that will then be read by the kafka consumer. The test producer will make it easy to run the kafka consumer outside of unit tests but not in full production
Integrate new arguments into
service.sdl
Service.sdl is the configuration file for the CSD https://github.com/cloudera/cm_ext/wiki/Service-Descriptor-Language-Reference
There should be at least two new arguments for consume-mode and topic.
Listen mode should default to http.
Deploy the CSD to Valhalla and test
Test all changes with the CSD and new parcel deployed on a test cluster.
I have scripts for this that are not yet committed, hopefully by the time this is reached they will be.
Document changes
Add a page to the
docs
dir describing usage and limitations. Register it inmkdocs.yml
The text was updated successfully, but these errors were encountered: