Re: [DISCUSS] KIP-913: add new method to provide possibility for accelerate first record's sending

2023-03-08 Thread jian fu
Hi Haruki Okada: Thanks for commenting more ideas. For the naming. Maybe it is personal view for which is better. For the Admin API's approach. it can't solve the issue for Producer's warmup and not every API can call the API with high permissions. For the approach: retry calling partitionsFor unti

Re: [DISCUSS] KIP-913: add new method to provide possibility for accelerate first record's sending

2023-03-08 Thread Haruki Okada
Thanks for your explanation. > Thus, The code will look strange to call partitionsFor(topic) Hmm is that so? As the javadoc for `partitionsFor` states, it is simply for getting partition metadata for the topic, so I think nothing is strange even if we use it for "warmup" metadata. (And if so, `ge

Re: [DISCUSS] KIP-913: add new method to provide possibility for accelerate first record's sending

2023-03-08 Thread jian fu
Hi Haruki Okada: There is another KIP912 discussion related to this one. Welcome to give some comments/suggestions. Thanks. I think if the 912 is done. New method getCluster can use the new config directly with time parameter removed. WDTY? [DISCUSS] KIP-912: Support decreasing send's block ti

Re: [DISCUSS] KIP-913: add new method to provide possibility for accelerate first record's sending

2023-03-08 Thread jian fu
Hi Okada Haruki: Thanks for your comment. I can use it partitionsFor(topic) for the goal, thus there are two reasons why I don't choose it and propose to add new dedicated method: 1) Consider how to use the method to solve the issue, We should call it in application's startup process before any r

Re: [DISCUSS] KIP-913: add new method to provide possibility for accelerate first record's sending

2023-03-08 Thread Haruki Okada
You can just use Producer#partitionsFor 2023年3月9日(木) 11:13 jian fu : > Hi All: > > If anyone can help to give some comments or suggestions for the proposal. > Thanks in advance! > > Regards > Jian > > jian fu 于2023年3月6日周一 17:00写道: > > > Hi Everyone: > > Nice to meet you. > > > > I created one KI

Re: [DISCUSS] KIP-913: add new method to provide possibility for accelerate first record's sending

2023-03-08 Thread jian fu
Hi All: If anyone can help to give some comments or suggestions for the proposal. Thanks in advance! Regards Jian jian fu 于2023年3月6日周一 17:00写道: > Hi Everyone: > Nice to meet you. > > I created one KIP to request your review. > KIP-913: add new method to provide possibility for accelerate first

[DISCUSS] KIP-913: add new method to provide possibility for accelerate first record's sending

2023-03-06 Thread jian fu
Hi Everyone: Nice to meet you. I created one KIP to request your review. KIP-913: add new method to provide possibility for accelerate first record's sending