volentixlabsinc / vdex-clojure

1 stars 1 forks source link

matching-engine error: Duplicate key: :matching-engine.handler/kafka-pipe #25

Closed shawnlauzon closed 6 years ago

shawnlauzon commented 6 years ago

Attempted to run the matching-engine per the instruction, and received this error

Exception in thread "main" java.lang.IllegalArgumentException: Duplicate key: :matching-engine.handler/kafka-pipe, compiling:(/private/var/folders/8x/5b2gr46j0nn1tccstm6c9ww80000gn/T/form-init1042913494993044607.clj:1:125) at clojure.lang.Compiler.load(Compiler.java:7526) at clojure.lang.Compiler.loadFile(Compiler.java:7452) at clojure.main$load_script.invokeStatic(main.clj:278) at clojure.main$init_opt.invokeStatic(main.clj:280) at clojure.main$init_opt.invoke(main.clj:280) at clojure.main$initialize.invokeStatic(main.clj:311) at clojure.main$null_opt.invokeStatic(main.clj:345) at clojure.main$null_opt.invoke(main.clj:342) at clojure.main$main.invokeStatic(main.clj:424) at clojure.main$main.doInvoke(main.clj:387) at clojure.lang.RestFn.applyTo(RestFn.java:137) at clojure.lang.Var.applyTo(Var.java:702) at clojure.main.main(main.java:37) Caused by: java.lang.IllegalArgumentException: Duplicate key: :matching-engine.handler/kafka-pipe at clojure.lang.PersistentHashMap.createWithCheck(PersistentHashMap.java:67) at clojure.lang.RT.map(RT.java:1588) at clojure.lang.EdnReader$MapReader.invoke(EdnReader.java:683) at clojure.lang.EdnReader.read(EdnReader.java:145) at clojure.lang.EdnReader.read(EdnReader.java:111) at clojure.lang.EdnReader.readString(EdnReader.java:67) at clojure.edn$read_string.invokeStatic(edn.clj:46) at clojure.edn$read_string.invoke(edn.clj:37) at integrant.core$read_string.invokeStatic(core.cljc:111) at integrant.core$read_string.invoke(core.cljc:104) at duct.core$read_config.invokeStatic(core.clj:81) at duct.core$read_config.invoke(core.clj:65) at duct.core$read_config.invokeStatic(core.clj:79) at duct.core$read_config.invoke(core.clj:65) at matching_engine.main$_main.invokeStatic(main.clj:7) at matching_engine.main$_main.doInvoke(main.clj:6) at clojure.lang.RestFn.invoke(RestFn.java:408) at clojure.lang.Var.invoke(Var.java:381) at user$eval160.invokeStatic(form-init1042913494993044607.clj:1) at user$eval160.invoke(form-init1042913494993044607.clj:1)

staifa commented 6 years ago

I managed to replicate the bug, I'll fix it soon.

staifa commented 6 years ago

This is now fixed.