This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Thread that accepts and configures new connections. There is one of these per endpoint. | |
*/ | |
private[kafka] class Acceptor(val endPoint: EndPoint, | |
val sendBufferSize: Int, | |
val recvBufferSize: Int, | |
brokerId: Int, | |
processors: Array[Processor], | |
connectionQuotas: ConnectionQuotas) extends AbstractServerThread(connectionQuotas) with KafkaMetricsGroup { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.lang.Long | |
import java.util.Properties | |
import org.apache.kafka.common.serialization._ | |
import org.apache.kafka.streams._ | |
import org.apache.kafka.streams.kstream.{KStream, KStreamBuilder, KTable} | |
import scala.collection.JavaConverters.asJavaIterableConverter | |
object WordCountApplication { |