code: def get_group_partition(group, partition_count):
      
      def java_string_hashcode(s):
          h = 0
          for c in s:
              h = (31 * h + ord(c)) & 0xFFFFFFFF
          return ((h + 0x80000000) & 0xFFFFFFFF) - 0x80000000
      return abs(java_string_hashcode(group)) % partition_count
docs: Given a group name, return the partition number of the consumer offset
      topic containing the data associated to that group.