mirror of https://github.com/apache/druid.git
fix IRCFirehoseFactory json name/nick mismatch
* Now it is nick as per wikipedia example
This commit is contained in:
parent
15ed308a4b
commit
27e25fe513
|
@ -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