Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

Status

Current state"Under Discussion"Accepted

Discussion thread[VOTE] KIP-243: Make ProducerConfig and ConsumerConfig constructors public (no DISCUSS thread)

...

Code Block
languagejava
linenumberstrue
// old API
ProducerConfig(Map<?, ?> props);
ConsumerConfig(Map<?, ?> props);
 
// new API
public ProducerConfig(Map<String, ?>Properties props);
public ProducerConfig(PropertiesMap<String, Object> props);
public ConsumerConfig(Map<String,Properties ?> props);
public ConsumerConfig(PropertiesMap<String, Object> props);

Proposed Changes

We suggest to make both constructors public.

...