Skip to content
代码片段 群组 项目
  1. 9月 10, 2020
  2. 9月 09, 2020
  3. 9月 08, 2020
  4. 9月 07, 2020
  5. 9月 05, 2020
    • ConfluentSemaphore's avatar
    • Vikas Singh's avatar
      CNKAF-1087: Fix rack aware topic placement for cloud use case (#2491) · ff95eedb
      Vikas Singh 创作于
      * CNKAF-1087: Fix rack aware topic placement for cloud use case
      
      In cloud deployements the partition assigment is done by
      TenantPartitionAssignor class. The class relies on cluster metadata from
      the callback that is called by 'UpdateMetadataRequest' api. In this
      callback we have bug where rack information isn't propagated, hence we
      end up doing rack unaware assignment.
      
      This change fixes that by passign rack information in the callback. The
      fix is just one line in MetadataCache. Most of the change is adding
      integration tests to make sure TenantPartitionAssignor works as expected
      for cloud use case, for both rack aware and unaware case.
      
      The newly written rack aware test case fails w/o this change and passes
      with this change.
      ff95eedb
  6. 9月 04, 2020
加载中