Skip to content
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

STORM-2098: DruidBeamBolt: Pass DruidConfig.Builder as constructor argument #1686

Merged
merged 1 commit into from
Sep 19, 2016
Merged

STORM-2098: DruidBeamBolt: Pass DruidConfig.Builder as constructor argument #1686

merged 1 commit into from
Sep 19, 2016

Conversation

omkreddy
Copy link
Contributor

No description provided.

@omkreddy
Copy link
Contributor Author

@satishd pinging for review.

@@ -52,11 +52,11 @@ public static void main(String[] args) throws Exception {

topologyBuilder.setSpout("event-gen", new SimpleSpout(), 5);
DruidBeamFactory druidBeamFactory = new SampleDruidBeamFactoryImpl(new HashMap<String, Object>());
DruidConfig druidConfig = DruidConfig.newBuilder().discardStreamId(DruidConfig.DEFAULT_DISCARD_STREAM_ID).build();
DruidConfig.Builder bulder = DruidConfig.newBuilder().discardStreamId(DruidConfig.DEFAULT_DISCARD_STREAM_ID);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo nit: variable name should be builder

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the review. Updated the PR.

@satishd
Copy link
Member

satishd commented Sep 16, 2016

+1 LGTM

@HeartSaVioR
Copy link
Contributor

+1 on this, but it might be better for Flux to handle builder method, just like Spring.

@asfgit asfgit merged commit 8d57f61 into apache:master Sep 19, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants