title: too many tcpv6/pipe open descriptors for kafka connections when using Kafka Streams
body: <p>We used Kafka Streams library for stream processing. But we have issues with too many tcpv6/pipe open descriptors which are used for connecting with kafka brokers.</p>
  
  <p>The Kafka Stream code we use is similar like the code above, the differences are that we have more than 10 KStreams used for StreamsBuilder.</p>
  
  <pre><code>Map&lt;String, Object&gt; props = new HashMap&lt;&gt;();
  props.put(StreamsConfig.APPLICATION_ID_CONFIG, "my-stream-processing-application");
  props.put(StreamsConfig.BOOTSTRAP_SERVERS_CONFIG, "localhost:9092");
  props.put(StreamsConfig.DEFAULT_KEY_SERDE_CLASS_CONFIG, Serdes.String().getClass());
  props.put(StreamsConfig.DEFAULT_VALUE_SERDE_CLASS_CONFIG, Serdes.String().getClass());
  StreamsConfig config = new StreamsConfig(props);
  
  StreamsBuilder builder = new StreamsBuilder();
  builder.&lt;String, String&gt;stream("my-input-topic").mapValues(value -&gt; value.length().toString()).to("my-output-topic");
  
  KafkaStreams streams = new KafkaStreams(builder.build(), config);
  streams.start();
  </code></pre>
  
  <p>Will be really appreciated if anyone would give any help with this issue. Thanks!</p>