[
https://issues.apache.org/jira/browse/KAFKA-2929?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Grant Henke updated KAFKA-2929:
-------------------------------
Description:
Kafka common and core both have a class that maps error codes and exceptions.
To prevent errors and issues with consistency we should deprecate
ErrorMapping.scala in core in favor or Errors.java in common. Any duplicated
exceptions in core should be deprecate as well to ensure the mapping is
correct.
When the old clients are removed ErrorMapping.scala and the deprecated
exceptions can be removed as well.
was:
Kafka common and core both have a class that maps error codes and exceptions.
To prevent errors and issues with consistency we should remove
ErrorMapping.scala in core in favor or Errors.java in common. Any duplicated
exceptions in core should be removed as well to ensure the mapping is correct.
> Deprecate duplicate error mapping functionality
> -----------------------------------------------
>
> Key: KAFKA-2929
> URL: https://issues.apache.org/jira/browse/KAFKA-2929
> Project: Kafka
> Issue Type: Improvement
> Affects Versions: 0.9.0.0
> Reporter: Grant Henke
> Assignee: Grant Henke
>
> Kafka common and core both have a class that maps error codes and exceptions.
> To prevent errors and issues with consistency we should deprecate
> ErrorMapping.scala in core in favor or Errors.java in common. Any duplicated
> exceptions in core should be deprecate as well to ensure the mapping is
> correct.
> When the old clients are removed ErrorMapping.scala and the deprecated
> exceptions can be removed as well.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)