You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by gi...@git.apache.org on 2017/06/22 20:54:31 UTC

[GitHub] tysonnorris commented on a change in pull request #2414: SPI approach for pluggable implementations

tysonnorris commented on a change in pull request #2414: SPI approach for pluggable implementations
URL: https://github.com/apache/incubator-openwhisk/pull/2414#discussion_r123619685
 
 

 ##########
 File path: common/scala/src/main/scala/whisk/connector/kafka/KafkaMessagingProvider.scala
 ##########
 @@ -0,0 +1,37 @@
+package whisk.connector.kafka
+
+import akka.actor.ActorSystem
+import scaldi.Injector
+import whisk.common.Logging
+import whisk.core.WhiskConfig
+import whisk.core.connector.MessageConsumer
+import whisk.core.connector.MessageProducer
+import whisk.core.connector.MessagingProvider
+import whisk.spi.SpiFactoryModule
+/**
+  * Created by tnorris on 6/20/17.
+  */
+class KafkaMessagingProvider(actorSystem:ActorSystem, config:WhiskConfig)(implicit logging:Logging) extends MessagingProvider {
 
 Review comment:
   Not sure what you mean - you want to change the name from "KafkaMessagingProvider" to "Kafka"?
   
   There is already a "MessagingProvider" trait defined (which is the one that extends Spi):
   https://github.com/apache/incubator-openwhisk/pull/2414/files#diff-8ba49f030237d2d826b76d762a468013R9
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services