You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Ewen Cheslack-Postava (JIRA)" <ji...@apache.org> on 2015/11/06 19:58:11 UTC
[jira] [Created] (KAFKA-2764) Copycat APIs should use Map instead of Properties
Ewen Cheslack-Postava created KAFKA-2764:
--------------------------------------------
Summary: Copycat APIs should use Map<String, String> instead of Properties
Key: KAFKA-2764
URL: https://issues.apache.org/jira/browse/KAFKA-2764
Project: Kafka
Issue Type: Bug
Components: copycat
Reporter: Ewen Cheslack-Postava
Assignee: Ewen Cheslack-Postava
Fix For: 0.9.0.0
Properties objects were used elsewhere in Kafka, but the new clients have moved to regular maps (Map<String, Object> for most configs, but Map<String, String> makes sense for Copycat since the configs the maps are used for always have to be serializeable to .properties files). Since Properties objects are kind of annoying to deal with and we have a bunch of translations scattered throughout the Copycat code, it will be easier to use Maps and only resort to using the Properties class for parsing the .properties files.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)