[jira] [Updated] (HADOOP-14623) KafkaSink#init should set acks to 1,not 0 and key.serializer is wrong however key not used
[ https://issues.apache.org/jira/browse/HADOOP-14623?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Hongyuan Li updated HADOOP-14623: - Description: {{KafkaSink}}#{{init}} should set ack to *1* to make sure the message has been written to the broker at least. current code list below: {code} props.put("request.required.acks", "0"); {code} *Update* find another bug about this class, {{key.serializer}} used {{org.apache.kafka.common.serialization.ByteArraySerializer}}, however, the key properties of Producer is Integer, codes list below: {code} props.put("key.serializer", "org.apache.kafka.common.serialization.ByteArraySerializer"); … producer = new KafkaProducer(props); {code} was: {{KafkaSink}}#{{init}} should set ack to *1* to make sure the message has been written to the broker at least. current code list below: {code} props.put("request.required.acks", "0"); {code} *Update* find another bug about this class, key.serializer used {{org.apache.kafka.common.serialization.ByteArraySerializer}} > KafkaSink#init should set acks to 1,not 0 and key.serializer is wrong however > key not used > -- > > Key: HADOOP-14623 > URL: https://issues.apache.org/jira/browse/HADOOP-14623 > Project: Hadoop Common > Issue Type: Bug > Components: common, tools >Affects Versions: 3.0.0-alpha3 >Reporter: Hongyuan Li >Assignee: Hongyuan Li > Attachments: HADOOP-14623-001.patch > > > {{KafkaSink}}#{{init}} should set ack to *1* to make sure the message has > been written to the broker at least. > current code list below: > {code} > > props.put("request.required.acks", "0"); > {code} > *Update* > find another bug about this class, {{key.serializer}} used > {{org.apache.kafka.common.serialization.ByteArraySerializer}}, however, the > key properties of Producer is Integer, codes list below: > {code} > props.put("key.serializer", > "org.apache.kafka.common.serialization.ByteArraySerializer"); > … > producer = new KafkaProducer (props); > {code} -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-issues-h...@hadoop.apache.org
[jira] [Updated] (HADOOP-14623) KafkaSink#init should set acks to 1,not 0 and key.serializer is wrong however key not used
[ https://issues.apache.org/jira/browse/HADOOP-14623?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Hongyuan Li updated HADOOP-14623: - Description: {{KafkaSink}}#{{init}} should set ack to *1* to make sure the message has been written to the broker at least. current code list below: {code} props.put("request.required.acks", "0"); {code} *Update* find another bug about this class, key.serializer used {{org.apache.kafka.common.serialization.ByteArraySerializer}} was: {{KafkaSink}}#{{init}} should set ack to *1* to make sure the message has been written to the broker at least. current code list below: {code} props.put("request.required.acks", "0"); {code} > KafkaSink#init should set acks to 1,not 0 and key.serializer is wrong however > key not used > -- > > Key: HADOOP-14623 > URL: https://issues.apache.org/jira/browse/HADOOP-14623 > Project: Hadoop Common > Issue Type: Bug > Components: common, tools >Affects Versions: 3.0.0-alpha3 >Reporter: Hongyuan Li >Assignee: Hongyuan Li > Attachments: HADOOP-14623-001.patch > > > {{KafkaSink}}#{{init}} should set ack to *1* to make sure the message has > been written to the broker at least. > current code list below: > {code} > > props.put("request.required.acks", "0"); > {code} > *Update* > find another bug about this class, key.serializer used > {{org.apache.kafka.common.serialization.ByteArraySerializer}} -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-issues-h...@hadoop.apache.org
[jira] [Updated] (HADOOP-14623) KafkaSink#init should set acks to 1,not 0 and key.serializer is wrong however key not used
[ https://issues.apache.org/jira/browse/HADOOP-14623?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Hongyuan Li updated HADOOP-14623: - Summary: KafkaSink#init should set acks to 1,not 0 and key.serializer is wrong however key not used (was: KafkaSink#init should set acks to 1,not 0) > KafkaSink#init should set acks to 1,not 0 and key.serializer is wrong however > key not used > -- > > Key: HADOOP-14623 > URL: https://issues.apache.org/jira/browse/HADOOP-14623 > Project: Hadoop Common > Issue Type: Bug > Components: common, tools >Affects Versions: 3.0.0-alpha3 >Reporter: Hongyuan Li >Assignee: Hongyuan Li > Attachments: HADOOP-14623-001.patch > > > {{KafkaSink}}#{{init}} should set ack to *1* to make sure the message has > been written to the broker at least. > current code list below: > {code} > > props.put("request.required.acks", "0"); > {code} -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-issues-h...@hadoop.apache.org