[
https://issues.apache.org/jira/browse/KAFKA-19137?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chia-Ping Tsai resolved KAFKA-19137.
------------------------------------
Fix Version/s: 4.1.0
Resolution: Fixed
> Use `StandardCharsets.UTF_8` instead of `StandardCharsets.UTF_8.name()`
> -----------------------------------------------------------------------
>
> Key: KAFKA-19137
> URL: https://issues.apache.org/jira/browse/KAFKA-19137
> Project: Kafka
> Issue Type: Improvement
> Reporter: Chia-Ping Tsai
> Assignee: kangning.li
> Priority: Minor
> Fix For: 4.1.0
>
>
> The checked exception {{UnsupportedEncodingException}} for
> {{StandardCharsets.UTF_8.name()}} can be avoided by using
> {{StandardCharsets.UTF_8}} directly.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)