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

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

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.10.0.0
    • Fix Version/s: 0.10.0.0
    • Component/s: streams
    • Labels:

      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

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

              Dates

              • Created:
                Updated:
                Resolved: