Skip to content

Commit 9e535e4

Browse files
committed
undo undo commit issue #139 - new KafkaLibMapeedConnector
1 parent b569260 commit 9e535e4

File tree

3 files changed

+1063
-1062
lines changed

3 files changed

+1063
-1062
lines changed

pom.xml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -209,11 +209,6 @@
209209
<artifactId>signpost-commonshttp4</artifactId>
210210
<version>1.2.1.2</version>
211211
</dependency>
212-
<dependency>
213-
<groupId>com.tesobe.obp</groupId>
214-
<artifactId>obp-ri-kafka</artifactId>
215-
<version>2016.0-SNAPSHOT</version>
216-
</dependency>
217212
</dependencies>
218213

219214
<build>

src/main/scala/code/bankconnectors/Connector.scala

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -40,15 +40,21 @@ object Connector extends SimpleInjector {
4040
def buildOne: Connector = {
4141
val connectorProps = Props.get("connector").openOrThrowException("no connector set")
4242

43-
if (connectorProps.startsWith("kafka_lib")) {
44-
KafkaLibMappedConnector
45-
} else {
46-
connectorProps match {
47-
case "mapped" => LocalMappedConnector
48-
case "mongodb" => LocalConnector
49-
case "kafka" => KafkaMappedConnector
50-
}
43+
connectorProps match {
44+
case "mapped" => LocalMappedConnector
45+
case "mongodb" => LocalConnector
46+
case "kafka" => KafkaMappedConnector
5147
}
48+
//
49+
// if (connectorProps.startsWith("kafka_lib")) {
50+
// KafkaLibMappedConnector
51+
// } else {
52+
// connectorProps match {
53+
// case "mapped" => LocalMappedConnector
54+
// case "mongodb" => LocalConnector
55+
// case "kafka" => KafkaMappedConnector
56+
// }
57+
// }
5258
}
5359

5460
}

0 commit comments

Comments
 (0)