mirror of https://github.com/apache/druid.git
Merge pull request #1331 from metamx/fixIrcFirehoseNameNick
fix IRCFirehoseFactory json name/nick mismatch
This commit is contained in:
commit
f734471f22
|
@ -84,7 +84,6 @@
|
||||||
"type": "realtime",
|
"type": "realtime",
|
||||||
"firehose": {
|
"firehose": {
|
||||||
"type": "irc",
|
"type": "irc",
|
||||||
"nick": "wiki1234567890",
|
|
||||||
"host": "irc.wikimedia.org",
|
"host": "irc.wikimedia.org",
|
||||||
"channels": [
|
"channels": [
|
||||||
"#en.wikipedia",
|
"#en.wikipedia",
|
||||||
|
|
|
@ -66,7 +66,7 @@ public class IrcFirehoseFactory implements FirehoseFactory<IrcInputRowParser>
|
||||||
|
|
||||||
@JsonCreator
|
@JsonCreator
|
||||||
public IrcFirehoseFactory(
|
public IrcFirehoseFactory(
|
||||||
@JsonProperty("name") String nick,
|
@JsonProperty("nick") String nick,
|
||||||
@JsonProperty("host") String host,
|
@JsonProperty("host") String host,
|
||||||
@JsonProperty("channels") List<String> channels
|
@JsonProperty("channels") List<String> channels
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue