提问

2023-05-22 Thread 曹明勤
在我提交的flink-cdc-mysql的任务中,需要flink同步多张表的数据,但是我遇到了server-id重复的问题。我尝试过设置随机数,但是server-id有一定的取值范围,并且随机数还是有可能重复。官方文档建议我将server-id设置为一个范围,比如5400-6400,并且设置flink的并行度。这些我都做了,但是当我同步表的数量较多时,还是会出现server-id重复的问题导致任务提交失败。我需要如何设置才能如何避免这种错误?




In the Flinks-cdc-mysql task I submitted, flink was required to synchronize 
data of multiple tables, but I encountered the problem of server-id 
duplication. I tried to set a random number, but server-id has a range of 
values, and random numbers can be repeated. The official documentation advised 
me to set server-id to a range, such as 5400-6400, and set flink's parallelism. 
I did all of this, but when I synchronized a large number of tables, I still 
had the problem of server-id duplication, which caused the task submission to 
fail. What do I need to set up to avoid this error?

Re: 提问

2023-05-22 Thread Leonard Xu
(1)可以检查下是不是其他作业或者同步工具使用了对应的server-id
(2) server-id 可以尝试用机器IP+时间戳来生成,这样能尽可能避免冲突

祝好,
雪尽

> On May 22, 2023, at 3:34 PM, 曹明勤  wrote:
> 
> 在我提交的flink-cdc-mysql的任务中,需要flink同步多张表的数据,但是我遇到了server-id重复的问题。我尝试过设置随机数,但是server-id有一定的取值范围,并且随机数还是有可能重复。官方文档建议我将server-id设置为一个范围,比如5400-6400,并且设置flink的并行度。这些我都做了,但是当我同步表的数量较多时,还是会出现server-id重复的问题导致任务提交失败。我需要如何设置才能如何避免这种错误?
> 
> 
> 
> 
> In the Flinks-cdc-mysql task I submitted, flink was required to synchronize 
> data of multiple tables, but I encountered the problem of server-id 
> duplication. I tried to set a random number, but server-id has a range of 
> values, and random numbers can be repeated. The official documentation 
> advised me to set server-id to a range, such as 5400-6400, and set flink's 
> parallelism. I did all of this, but when I synchronized a large number of 
> tables, I still had the problem of server-id duplication, which caused the 
> task submission to fail. What do I need to set up to avoid this error?



订阅了flink中文邮件列表找不到用户邮件提问

2022-07-13 Thread 张锴
我最近重新订阅了flink中文邮件列表,但是我在收件箱中并没有显示大家提问及解答关于flink相关的问题。这是什么情况?


flink中文邮件列表不显示其他用户提问的flink问题。

2022-07-13 Thread 张锴
我重新订阅了flink中文邮件,但是列表里没有显示其他用户提问或者解答有关flink相关的问题和答案,这是什么原因?


Re: flink中文邮件列表不显示其他用户提问的flink问题。

2022-07-13 Thread yanfei lei
hi, 列表是指您的收件箱列表吗?您可以通过
https://lists.apache.org/list.html?user-zh@flink.apache.org 查看其他用户的问题和答案。

Best,
Yanfei

张锴  于2022年7月14日周四 09:17写道:

> 我重新订阅了flink中文邮件,但是列表里没有显示其他用户提问或者解答有关flink相关的问题和答案,这是什么原因?
>