KafkaFirehoseFactory: Fix serialization

This commit is contained in:
Gian Merlino 2013-03-11 11:13:19 -07:00
parent f8d9a3b19b
commit 4126893ba3
1 changed files with 5 additions and 0 deletions

View File

@ -50,8 +50,13 @@ public class KafkaFirehoseFactory implements FirehoseFactory
{ {
private static final Logger log = new Logger(KafkaFirehoseFactory.class); private static final Logger log = new Logger(KafkaFirehoseFactory.class);
@JsonProperty
private final Properties consumerProps; private final Properties consumerProps;
@JsonProperty
private final String feed; private final String feed;
@JsonProperty
private final StringInputRowParser parser; private final StringInputRowParser parser;
@JsonCreator @JsonCreator