Skip to content

ClassCastException [Lorg.apache.kafka.common.TopicPartition; cannot be cast to java.util.Collection #4

@sgrove

Description

@sgrove

I may be using this wrong, but I believe it's the same as in the examples:

(with-open [c (consumer/make-consumer cc key-deserializer value-deserializer options)]
 (franzy.clients.consumer.protocols/seek-to-end-offset! c [{:topic "trance" :partition 0}]))

Causes:

ClassCastException [Lorg.apache.kafka.common.TopicPartition; cannot be cast to java.util.Collection franzy.clients.consumer.client.FranzConsumer (client.clj:114)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions