kafka-ui icon indicating copy to clipboard operation
kafka-ui copied to clipboard

Connector't tasks count update is not available without refreshing

Open armenuikafka opened this issue 2 years ago • 1 comments

Describe the bug Connector tasks count update avaIlable only after refresh

Set up https://www.kafka-ui.provectus.io/

Steps to Reproduce Steps to reproduce the behavior:

  1. Navigate to Kafka connect
  2. Open the Connector
  3. Edit config
  4. Change Topics count
  5. Turn to Tasks tab

Expected behavior Tasks updated count update should be available without refreshing the Connector

Screenshots

https://user-images.githubusercontent.com/104780608/171347945-66ce9bb7-c97c-4b1d-8e50-7bdc5f425d75.mov

armenuikafka avatar Jun 01 '22 07:06 armenuikafka

Seems works as the same

https://user-images.githubusercontent.com/104780608/172350115-6edab037-7477-4096-ac07-8d96f73f44c7.mov

armenuikafka avatar Jun 07 '22 09:06 armenuikafka

@armenuikafka unfortunately Kafka-connect API is asynchronous in case of configuration changes applying. After you edit number of tasks - this change will be applied by kafka-connect asynchronously (and it is not specified when actually). So, I think the best thing we can do is to show UI disclaimer popup like "Changes will be applied asynchronously, refresh connector's page to see updates".

cc @Haarolean

iliax avatar Dec 07 '22 10:12 iliax