https://kotlinlang.org logo
#announcements
Title
# announcements
w

wei

07/25/2018, 10:01 PM
here’s the code for it:
Copy code
static class KafkaMessageId {
        public Partition partition;
        public long offset;

        public KafkaMessageId(Partition partition, long offset) {
            this.partition = partition;
            this.offset = offset;
        }
    }