flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From taizilongxu <...@git.apache.org>
Subject [GitHub] flink pull request #5050: [FLINK-4822] Ensure that the Kafka 0.8 connector i...
Date Wed, 22 Nov 2017 11:20:49 GMT
GitHub user taizilongxu opened a pull request:


    [FLINK-4822] Ensure that the Kafka 0.8 connector is compatible with k…

    ## What is the purpose of the change
    When we deploy the taskmanager in docker of our cluster, it's hard to locate which taskmanager
cosnume the right partition of kafka except looking up the  log in docker, so I just add the
owner in zk path when PeriodOffsetCommitter the offset.
    ## Brief change log
      - add the registerPartitionOwnership  when  commit the offset to zookeeper, and store
the info like :  /consumers/[group_id]/owner/[topic]/[partition_id] 
    ## Verifying this change
    This change is a trivial rework / code cleanup without any test coverage.
    ## Does this pull request potentially affect one of the following parts:
      - Dependencies (does it add or upgrade a dependency):  no
      - The public API, i.e., is any changed class annotated with `@Public(Evolving)`:no
      - The serializers:  no 
      - The runtime per-record code paths (performance sensitive): no
      - Anything that affects deployment or recovery: JobManager (and its components), Checkpointing,
Yarn/Mesos, ZooKeeper: no
      - The S3 file system connector: no
    ## Documentation
      - Does this pull request introduce a new feature? no
      - If yes, how is the feature documented? not documented

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/taizilongxu/flink flink-4822

Alternatively you can review and apply these changes as the patch at:


To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #5050
commit 1c7a345e671010cf07b02cfdff9968ced38e2632
Author: xuxiao.xu <xuxiao.xu@qunar.com>
Date:   2017-11-22T09:36:12Z

    [FLINK-4822] Ensure that the Kafka 0.8 connector is compatible with kafka-consumer-groups.sh



View raw message