Package us.b3k.kafka.ws.consumer

Examples of us.b3k.kafka.ws.consumer.KafkaConsumerFactory


            ServerContainer wsContainer = WebSocketServerContainerInitializer.configureContext(context);
            String inputTransformClassName =
                    wsProps.getProperty("ws.inputTransformClass", "us.b3k.kafka.ws.transforms.Transform");
            String outputTransformClassName =
                    wsProps.getProperty("ws.outputTransformClass", "us.b3k.kafka.ws.transforms.Transform");
            KafkaConsumerFactory consumerFactory =
                    KafkaConsumerFactory.create(consumerProps, Class.forName(outputTransformClassName));
            KafkaProducerFactory producerFactory =
                    KafkaProducerFactory.create(producerProps, Class.forName(inputTransformClassName));

            KafkaWebsocketEndpoint.Configurator.CONSUMER_FACTORY = consumerFactory;
View Full Code Here

TOP

Related Classes of us.b3k.kafka.ws.consumer.KafkaConsumerFactory

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.