Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-3589

KTable.count(final KeyValueMapper<K, V, K1> selector, String name) throw NPE

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.10.0.0
    • 0.10.0.0
    • streams

    Description

      The implementation of KTable.count(inal KeyValueMapper<K, V, K1> selector, String name) passes null through as the parameters for the key and value serdes. This results in an NPE in the aggregate method when it does:

      ChangedSerializer<V1> changedValueSerializer = new ChangedSerializer<>(valueSerde.serializer());

      Attachments

        Activity

          People

            guozhang Guozhang Wang
            damianguy Damian Guy
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: