[jira] [Created] (FLINK-32550) Single-parallel task consumes multi-partition data exception in pulsar

2023-07-06 Thread jiangchunyang (Jira)
jiangchunyang created FLINK-32550:
-

 Summary: Single-parallel task consumes multi-partition data 
exception in pulsar
 Key: FLINK-32550
 URL: https://issues.apache.org/jira/browse/FLINK-32550
 Project: Flink
  Issue Type: Bug
  Components: Connectors / Pulsar
Affects Versions: 1.16.0
 Environment: flink 1.16.0

pulsar 2.11.1
Reporter: jiangchunyang


Send data to pulsar every second through the program. When there is a 
partitioned-topic with 3 partitions in pulsar, use the Exclusive consumption 
mode for consumption (verified, it is not a data problem, because there is no 
abnormal data in normal tasks), start A 3-parallel task consumes this topic, 
and everything is normal; but when I use a single-parallel task to consume this 
topic, an exception occurs when some data is deserialized, and the avro format 
data is used, so an error is reported (Length is negative: -52); When I create 
a partitioned-topic with a single partition, I use a single parallelism task to 
consume, and there is no such problem, all the data is normal, and there is no 
task error.
I checked the logs and found that the consumer and topic-partition are 
allocated as expected.
Summarize:
3 topic-partitions and 1 consume work with exception (3 partitions are 
allocated to a single consumer)
3 topic-partitions and 3 consumers work normally
1 topic-partition 1 consumer works normally



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Created] (FLINK-27661) [Metric]Flink-Metrics pushgateway support authentication

2022-05-17 Thread jiangchunyang (Jira)
jiangchunyang created FLINK-27661:
-

 Summary: [Metric]Flink-Metrics pushgateway support authentication
 Key: FLINK-27661
 URL: https://issues.apache.org/jira/browse/FLINK-27661
 Project: Flink
  Issue Type: Improvement
  Components: Runtime / Metrics
 Environment: Flink:1.13.0
Reporter: jiangchunyang
 Fix For: 1.13.0


We found that the native PushGateway does not support authentication. As a 
result, the metrics data in on YARN mode cannot be reported to pushGateway with 
authentication.  

Although we have some other solutions, such as landing files and others, we 
think pushGateway is the best solution.  

So I decided to do some implementation on my own, and will submit pr to the 
community later



--
This message was sent by Atlassian Jira
(v8.20.7#820007)