kafka-jira mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthias J. Sax (JIRA)" <j...@apache.org>
Subject [jira] [Created] (KAFKA-5660) Don't throw TopologyBuilderException during runtime
Date Wed, 26 Jul 2017 21:27:00 GMT
Matthias J. Sax created KAFKA-5660:

             Summary: Don't throw TopologyBuilderException during runtime
                 Key: KAFKA-5660
                 URL: https://issues.apache.org/jira/browse/KAFKA-5660
             Project: Kafka
          Issue Type: Bug
          Components: streams
    Affects Versions:
            Reporter: Matthias J. Sax

{{TopologyBuilderException}} is a pre-runtime exception that should only be thrown {{KafkaStreams#start()}}
is called.

However, we do throw {{TopologyBuilderException}} within

- `SourceNodeFactory#getTopics`
- `ProcessorContextImpl#getStateStore`

(and maybe somewhere else: we should double check if there are other places in the code like

We should replace those exception with either {{StreamsException}} or with a new exception

This message was sent by Atlassian JIRA

View raw message