{"action":"created","issue":{"url":"https://api.github.com/repos/manub/scalatest-embedded-kafka/issues/133","repository_url":"https://api.github.com/repos/manub/scalatest-embedded-kafka","labels_url":"https://api.github.com/repos/manub/scalatest-embedded-kafka/issues/133/labels{/name}","comments_url":"https://api.github.com/repos/manub/scalatest-embedded-kafka/issues/133/comments","events_url":"https://api.github.com/repos/manub/scalatest-embedded-kafka/issues/133/events","html_url":"https://github.com/manub/scalatest-embedded-kafka/issues/133","id":320481134,"number":133,"title":"Can't import without confluent dependencies","user":{"login":"simplesteph","id":20851561,"avatar_url":"https://avatars0.githubusercontent.com/u/20851561?v=4","gravatar_id":"","url":"https://api.github.com/users/simplesteph","html_url":"https://github.com/simplesteph","followers_url":"https://api.github.com/users/simplesteph/followers","following_url":"https://api.github.com/users/simplesteph/following{/other_user}","gists_url":"https://api.github.com/users/simplesteph/gists{/gist_id}","starred_url":"https://api.github.com/users/simplesteph/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simplesteph/subscriptions","organizations_url":"https://api.github.com/users/simplesteph/orgs","repos_url":"https://api.github.com/users/simplesteph/repos","events_url":"https://api.github.com/users/simplesteph/events{/privacy}","received_events_url":"https://api.github.com/users/simplesteph/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-05-05T05:23:16Z","updated_at":"2018-05-05T12:15:59Z","closed_at":null,"author_association":"NONE","body":"@francescopellegrini  I understand you need the schema registry in this library but that's not \"pure kafka\" and the dependencies actually rely on importing the Confluent Schema Registry. Any import of the newly `  \"net.manub\" %% \"scalatest-embedded-kafka\" % \"1.1.0-kafka1.1\" % \"test\",` will result in that error:\r\n\r\n```\r\nError:Error while importing SBT project:<br/>...<br/><pre>[error] \tat scala.Function1.$anonfun$compose$1(Function1.scala:44)\r\n[error] \tat sbt.internal.util.$tilde$greater.$anonfun$$u2219$1(TypeFunctions.scala:42)\r\n[error] \tat sbt.std.Transform$$anon$4.work(System.scala:64)\r\n[error] \tat sbt.Execute.$anonfun$submit$2(Execute.scala:257)\r\n[error] \tat sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:16)\r\n[error] \tat sbt.Execute.work(Execute.scala:266)\r\n[error] \tat sbt.Execute.$anonfun$submit$1(Execute.scala:257)\r\n[error] \tat sbt.ConcurrentRestrictions$$anon$4.$anonfun$submitValid$1(ConcurrentRestrictions.scala:167)\r\n[error] \tat sbt.CompletionService$$anon$2.call(CompletionService.scala:32)\r\n[error] \tat java.util.concurrent.FutureTask.run(FutureTask.java:266)\r\n[error] \tat java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)\r\n[error] \tat java.util.concurrent.FutureTask.run(FutureTask.java:266)\r\n[error] \tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)\r\n[error] \tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)\r\n[error] \tat java.lang.Thread.run(Thread.java:748)\r\n[error] (*:update) sbt.librarymanagement.ResolveException: unresolved dependency: io.confluent#kafka-avro-serializer;4.1.0: not found\r\n[error] unresolved dependency: io.confluent#kafka-schema-registry;4.1.0: not found\r\n[error] (*:ssExtractDependencies) sbt.librarymanagement.ResolveException: unresolved dependency: io.confluent#kafka-avro-serializer;4.1.0: not found\r\n[error] unresolved dependency: io.confluent#kafka-schema-registry;4.1.0: not found\r\n[error] Total time: 80 s, completed 05/05/2018 10:50:25 AM</pre><br/>See complete log in <a href=\"file:/Users/stephanemaarek/Library/Logs/IdeaIC2017.2/sbt.last.log\">file:/Users/stephanemaarek/Library/Logs/IdeaIC2017.2/sbt.last.log</a>\r\n```\r\n\r\n\r\nPlease extract the schema registry dependency into a separate dependency / project. This will make more sense, and will probably need to document to import the confluent repos in the resolvers"},"comment":{"url":"https://api.github.com/repos/manub/scalatest-embedded-kafka/issues/comments/386801488","html_url":"https://github.com/manub/scalatest-embedded-kafka/issues/133#issuecomment-386801488","issue_url":"https://api.github.com/repos/manub/scalatest-embedded-kafka/issues/133","id":386801488,"user":{"login":"simplesteph","id":20851561,"avatar_url":"https://avatars0.githubusercontent.com/u/20851561?v=4","gravatar_id":"","url":"https://api.github.com/users/simplesteph","html_url":"https://github.com/simplesteph","followers_url":"https://api.github.com/users/simplesteph/followers","following_url":"https://api.github.com/users/simplesteph/following{/other_user}","gists_url":"https://api.github.com/users/simplesteph/gists{/gist_id}","starred_url":"https://api.github.com/users/simplesteph/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simplesteph/subscriptions","organizations_url":"https://api.github.com/users/simplesteph/orgs","repos_url":"https://api.github.com/users/simplesteph/repos","events_url":"https://api.github.com/users/simplesteph/events{/privacy}","received_events_url":"https://api.github.com/users/simplesteph/received_events","type":"User","site_admin":false},"created_at":"2018-05-05T12:15:59Z","updated_at":"2018-05-05T12:15:59Z","author_association":"NONE","body":"@francescopellegrini  I understand.\r\nMaybe you can have \r\n`scalatest-embedded-kafka-confluent` addon / project / module which provides a `withRunningKafkaConfluent` which wraps `withRunningKafka` and adds a schema registry in the mix"}}
{"actor":{"display_login":"simplesteph"}}