/*
 * Licensed to the Apache Software Foundation (ASF) under one or more
 * contributor license agreements. See the NOTICE file distributed with
 * this work for additional information regarding copyright ownership.
 * The ASF licenses this file to You under the Apache license, Version 2.0
 * (the "License"); you may not use this file except in compliance with
 * the License. You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the license for the specific language governing permissions and
 * limitations under the license.
 */

package org.apache.logging.log4j.core.appender.mom.kafka;

import java.util.Properties;

import org.apache.kafka.clients.producer.Producer;

public interface KafkaProducerFactory {

    Producer<byte[], byte[]> newKafkaProducer(Properties config);

}
@@ -1,11 +1,10 @@
 /*
-%0D
 %0A * Lice
@@ -65,17 +65,16 @@
  or more
-%0D
 %0A * cont
@@ -133,25 +133,24 @@
 ributed with
-%0D
 %0A * this wor
@@ -208,17 +208,16 @@
 nership.
-%0D
 %0A * The 
@@ -283,17 +283,16 @@
 sion 2.0
-%0D
 %0A * (the
@@ -355,17 +355,16 @@
 nce with
-%0D
 %0A * the 
@@ -411,21 +411,19 @@
 cense at
-%0D
 %0A *
-%0D
 %0A *     
@@ -469,13 +469,11 @@
 -2.0
-%0D
 %0A *
-%0D
 %0A * 
@@ -539,17 +539,16 @@
 software
-%0D
 %0A * dist
@@ -608,17 +608,16 @@
 %22 BASIS,
-%0D
 %0A * WITH
@@ -684,17 +684,16 @@
 implied.
-%0D
 %0A * See 
@@ -755,17 +755,16 @@
 ions and
-%0D
 %0A * limi
@@ -793,16 +793,13 @@
 nse.
-%0D
 %0A */
-%0D%0A%0D
+%0A
 %0Apac
@@ -852,19 +852,17 @@
 m.kafka;
-%0D%0A%0D
+%0A
 %0Aimport 
@@ -882,19 +882,17 @@
 perties;
-%0D%0A%0D
+%0A
 %0Aimport 
@@ -934,19 +934,117 @@
 roducer;
-%0D%0A%0D
+%0A%0A/**%0A * Creates %3Ca href=%22https://kafka.apache.org/%22%3EApache Kafka%3C/a%3E %7B@link Producer%7D instances.%0A */
 %0Apublic 
@@ -1075,19 +1075,17 @@
 actory %7B
-%0D%0A%0D
+%0A
 %0A    Pro
@@ -1146,9 +1146,7 @@
 ig);
-%0D%0A%0D
+%0A
 %0A%7D

Add Javadocs.