From 27e25fe5132fcf5f1288def741c74775a26547a7 Mon Sep 17 00:00:00 2001 From: Charles Allen Date: Fri, 1 May 2015 12:31:40 -0700 Subject: [PATCH] fix IRCFirehoseFactory json name/nick mismatch * Now it is nick as per wikipedia example --- examples/bin/examples/wikipedia/wikipedia_realtime.spec | 1 - .../io/druid/segment/realtime/firehose/IrcFirehoseFactory.java | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/examples/bin/examples/wikipedia/wikipedia_realtime.spec b/examples/bin/examples/wikipedia/wikipedia_realtime.spec index 2c9c9b6e65a..f04d0938493 100644 --- a/examples/bin/examples/wikipedia/wikipedia_realtime.spec +++ b/examples/bin/examples/wikipedia/wikipedia_realtime.spec @@ -84,7 +84,6 @@ "type": "realtime", "firehose": { "type": "irc", - "nick": "wiki1234567890", "host": "irc.wikimedia.org", "channels": [ "#en.wikipedia", diff --git a/server/src/main/java/io/druid/segment/realtime/firehose/IrcFirehoseFactory.java b/server/src/main/java/io/druid/segment/realtime/firehose/IrcFirehoseFactory.java index da3fd33cb36..c3890c56470 100644 --- a/server/src/main/java/io/druid/segment/realtime/firehose/IrcFirehoseFactory.java +++ b/server/src/main/java/io/druid/segment/realtime/firehose/IrcFirehoseFactory.java @@ -66,7 +66,7 @@ public class IrcFirehoseFactory implements FirehoseFactory @JsonCreator public IrcFirehoseFactory( - @JsonProperty("name") String nick, + @JsonProperty("nick") String nick, @JsonProperty("host") String host, @JsonProperty("channels") List channels )