-
Notifications
You must be signed in to change notification settings - Fork 4.1k
[STORM-1010] each KafkaBolt have its own properties #699
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
Conversation
|
@Renkai whats the need for this? why can't you add multiple bolts with its own parallelism. IMO this goes against the storm api. |
|
@harshach |
|
The changes look fine to me. +1 @harshach we did a similar thing for the HDFS Bolt. storm/external/storm-hdfs/src/main/java/org/apache/storm/hdfs/bolt/HdfsBolt.java Lines 53 to 56 in ffb1562
Each bolt needs to be able to be configured independently of all other bolts. Putting it in the conf is a is one way to do it, but I have seen a lot of bolts do it through a setter too. I personally would prefer to support both through a config and through an API. The only trick is with consistency and ordering in the case of conflicts. |
|
+1. |
|
I am fine with the current approach but we need to standardize one way configuring the bolts as each connector follows its own pattern right now and which can be confusing to the users. |
|
@harshach I will push a new commit,make it harmonic with current code. |
|
Travis CI shows test fails in with jdk8,but I think it's not problems with my commits,tests all passed on my Mac. |
|
@Renkai those failed tests are intermittent test failures in storm-core not related to the patch. |
|
+1. |
No description provided.