[ 
https://issues.apache.org/jira/browse/SPARK-43067?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jungtaek Lim reassigned SPARK-43067:
------------------------------------

    Assignee: Jungtaek Lim

> Error class resource file in Kafka connector is misplaced
> ---------------------------------------------------------
>
>                 Key: SPARK-43067
>                 URL: https://issues.apache.org/jira/browse/SPARK-43067
>             Project: Spark
>          Issue Type: Bug
>          Components: Structured Streaming
>    Affects Versions: 3.4.0
>            Reporter: Jungtaek Lim
>            Assignee: Jungtaek Lim
>            Priority: Major
>
> SPARK-41387 adopted error class framework in Kafka connector. Since it's a 
> connector, the error class file is intentionally put to the Kafka connector 
> module instead of being added to the Spark's central error class file.
> Unfortunately I've figured out somehow that the place is wrong. It should be 
> placed to the resources directory in source, not test. The problem cannot be 
> captured in test suite as it's available in test artifact, but I can trigger 
> the problem via adding Kafka connector jar into classpath and initialize 
> KafkaExceptions object.
> Hopefully the blast radius of the problem is trivial as Kafka connector uses 
> error class only for assertions which should not be triggered unless some 
> accident happens e.g. topic is deleted and recreated while the streaming 
> query is running with Trigger.Available.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to