[ 
https://issues.apache.org/jira/browse/FLINK-19239?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

zhangyunyun updated FLINK-19239:
--------------------------------
    Description: 
When I use the kafka connector jar: flink-connector-kafka_2.11

My code is:
{code:java}
new FlinkKafkaProducer<>(
    brokerList,
    topic,
    new SimpleStringSchema()
);
{code}
The target Kafka partition is big then 1, but all the data send to one 
partition only.

 

 

  was:
When I use the kafka connector jar: flink-connector-kafka_2.11

My code is:
{code:java}
//代码占位符
new FlinkKafkaProducer<>(
    brokerList,
    topic,
    new SimpleStringSchema()
);
{code}
The target Kafka partition is big then 1, but all the data send to one 
partition only.

 

 


> FlinkKafkaProducer
> ------------------
>
>                 Key: FLINK-19239
>                 URL: https://issues.apache.org/jira/browse/FLINK-19239
>             Project: Flink
>          Issue Type: Bug
>          Components: Connectors / Kafka
>    Affects Versions: 1.11.0
>            Reporter: zhangyunyun
>            Priority: Major
>         Attachments: kafka_producer_1.png, kafka_producer_2.png, 
> kafka_producer_3.png
>
>
> When I use the kafka connector jar: flink-connector-kafka_2.11
> My code is:
> {code:java}
> new FlinkKafkaProducer<>(
>     brokerList,
>     topic,
>     new SimpleStringSchema()
> );
> {code}
> The target Kafka partition is big then 1, but all the data send to one 
> partition only.
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to