From 928a29524f9b4fde133ab6434671bd9d67ffd98d Mon Sep 17 00:00:00 2001 From: Ivan Orone Date: Tue, 24 Mar 2020 13:16:09 +0300 Subject: [PATCH 1/5] Upgrades mdoc version to fix dependency on beta version of slf4j More details can be found here https://github.com/jpzk/mockedstreams/issues/64 Bump up version to 3.5.2 SNAPSHOT --- build.sbt | 2 +- project/plugins.sbt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build.sbt b/build.sbt index b57dadb..88ec714 100644 --- a/build.sbt +++ b/build.sbt @@ -1,6 +1,6 @@ lazy val commonSettings = Seq( organization := "com.madewithtea", - version := "3.5.1", + version := "3.5.2-SNAPSHOT", scalaVersion := "2.12.10", crossScalaVersions := List("2.12.10", "2.13.1"), description := "Topology Unit-Testing Library for Kafka Streams", diff --git a/project/plugins.sbt b/project/plugins.sbt index 7150ba2..bff7d3b 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -2,4 +2,4 @@ addSbtPlugin("org.scoverage" % "sbt-scoverage" % "1.6.1") addSbtPlugin("com.jsuereth" % "sbt-pgp" % "1.1.0") addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.0.0") addSbtPlugin("com.47deg" % "sbt-microsites" % "1.0.1") -addSbtPlugin("org.scalameta" % "sbt-mdoc" % "2.0.2") +addSbtPlugin("org.scalameta" % "sbt-mdoc" % "2.1.5") From da631b007a4c22614c121c3c0a35adc977104d5a Mon Sep 17 00:00:00 2001 From: Jendrik Poloczek Date: Tue, 24 Mar 2020 13:52:01 +0100 Subject: [PATCH 2/5] changed scala 2.11 version; removed SNAPSHOT --- build.sbt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build.sbt b/build.sbt index 88ec714..4d63ac6 100644 --- a/build.sbt +++ b/build.sbt @@ -1,8 +1,8 @@ lazy val commonSettings = Seq( organization := "com.madewithtea", - version := "3.5.2-SNAPSHOT", - scalaVersion := "2.12.10", - crossScalaVersions := List("2.12.10", "2.13.1"), + version := "3.5.2", + scalaVersion := "2.12.11", + crossScalaVersions := List("2.12.11", "2.13.1"), description := "Topology Unit-Testing Library for Kafka Streams", organizationHomepage := Some(url("https://www.madewithtea.com")), scalacOptions := Seq("-Xexperimental") From 88b30d8a722767870cfe160f3c6df8e29902ef3c Mon Sep 17 00:00:00 2001 From: Jendrik Poloczek Date: Tue, 24 Mar 2020 15:56:59 +0100 Subject: [PATCH 3/5] changed docs; docs version --- README.md | 5 +++-- build.sbt | 5 ++++- docs/docs/compatibility.md | 1 + docs/index.md | 9 ++++++--- project/plugins.sbt | 2 +- .../com/madewithtea/mockedstreams/MockedStreams.scala | 2 +- 6 files changed, 16 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index ae2a745..b723425 100644 --- a/README.md +++ b/README.md @@ -6,9 +6,9 @@ Documentation located at http://mockedstreams.madewithtea.com/ -Mocked Streams 3.5.1 [(git)](https://github.com/jpzk/mockedstreams) is a library for Scala 2.12 and 2.13 which allows you to **unit-test processing topologies** of [Kafka Streams](https://kafka.apache.org/documentation#streams) applications (since Apache Kafka >=0.10.1) **without Zookeeper and Kafka Brokers**. Further, you can use your favourite Scala testing framework e.g. [ScalaTest](http://www.scalatest.org/) and [Specs2](https://etorreborre.github.io/specs2/). Mocked Streams is located at the Maven Central Repository, therefore you just have to add the following to your [SBT dependencies](http://www.scala-sbt.org/0.13/docs/Library-Dependencies.html): +Mocked Streams 3.5.2 [(git)](https://github.com/jpzk/mockedstreams) is a library for Scala 2.12 and 2.13 which allows you to **unit-test processing topologies** of [Kafka Streams](https://kafka.apache.org/documentation#streams) applications (since Apache Kafka >=0.10.1) **without Zookeeper and Kafka Brokers**. Further, you can use your favourite Scala testing framework e.g. [ScalaTest](http://www.scalatest.org/) and [Specs2](https://etorreborre.github.io/specs2/). Mocked Streams is located at the Maven Central Repository, therefore you just have to add the following to your [SBT dependencies](http://www.scala-sbt.org/0.13/docs/Library-Dependencies.html): - libraryDependencies += "com.madewithtea" %% "mockedstreams" % "3.5.1" % "test" + libraryDependencies += "com.madewithtea" %% "mockedstreams" % "3.5.2" % "test" Java 8 port of Mocked Streams is [Mockafka](https://github.com/carlosmenezes/mockafka) @@ -16,6 +16,7 @@ Java 8 port of Mocked Streams is [Mockafka](https://github.com/carlosmenezes/moc | Mocked Streams Version | Apache Kafka Version | |------------- |-------------| +| 3.5.2 | 2.4.0.0 | | 3.5.1 | 2.4.0.0 | | 3.5.0 | 2.4.0.0 | | 3.4.0 | 2.3.0.0 | diff --git a/build.sbt b/build.sbt index 4d63ac6..2732017 100644 --- a/build.sbt +++ b/build.sbt @@ -1,7 +1,7 @@ lazy val commonSettings = Seq( organization := "com.madewithtea", version := "3.5.2", - scalaVersion := "2.12.11", + scalaVersion := "2.13.1", crossScalaVersions := List("2.12.11", "2.13.1"), description := "Topology Unit-Testing Library for Kafka Streams", organizationHomepage := Some(url("https://www.madewithtea.com")), @@ -69,9 +69,12 @@ pomExtra := micrositeName := "Mocked Streams" micrositeDescription := "Unit-Testing Topologies in Kafka Streams" micrositeUrl := "http://mockedstreams.madewithtea.com" +micrositeBaseUrl := "/" +micrositeTheme := "pattern" micrositeDocumentationUrl := "/docs" micrositeGitterChannel := false micrositeDocumentationLabelDescription := "Documentation" +micrositeCompilingDocsTool := WithMdoc micrositeDataDirectory := (resourceDirectory in Compile).value / "docs" / "data" micrositeGithubOwner := "jpzk" micrositeGithubRepo := "mockedstreams" diff --git a/docs/docs/compatibility.md b/docs/docs/compatibility.md index cf0d066..5bf8b60 100644 --- a/docs/docs/compatibility.md +++ b/docs/docs/compatibility.md @@ -9,6 +9,7 @@ Please use the corresponding Mocked Streams version to a concrete Apache Kafka v | Mocked Streams Version | Apache Kafka Version | |------------- |-------------| +| 3.5.2 | 2.4.0.0 | | 3.5.1 | 2.4.0.0 | | 3.5.0 | 2.4.0.0 | | 3.4.0 | 2.3.0.0 | diff --git a/docs/index.md b/docs/index.md index b59b52f..03d47d3 100644 --- a/docs/index.md +++ b/docs/index.md @@ -11,9 +11,9 @@ technologies: [![Build Status](https://travis-ci.org/jpzk/mockedstreams.svg?branch=master)](https://travis-ci.org/jpzk/mockedstreams) [![Codacy Badge](https://api.codacy.com/project/badge/Grade/8abac3d072e54fa3a13dc3da04754c7b)](https://www.codacy.com/app/jpzk/mockedstreams?utm_source=github.com&utm_medium=referral&utm_content=jpzk/mockedstreams&utm_campaign=Badge_Grade) [![codecov](https://codecov.io/gh/jpzk/mockedstreams/branch/master/graph/badge.svg)](https://codecov.io/gh/jpzk/mockedstreams) -Mocked Streams 3.5.1 is a library for Scala 2.12 and Scala 2.13 which allows you to **unit-test processing topologies** of [Kafka Streams](https://kafka.apache.org/documentation#streams) applications (since Apache Kafka >=0.10.1) **without Zookeeper and Kafka Brokers**. Further, you can use your favourite Scala testing framework e.g. [ScalaTest](http://www.scalatest.org/) and [Specs2](https://etorreborre.github.io/specs2/). Mocked Streams is located at the Maven Central Repository, therefore you just have to add the following to your [SBT dependencies](http://www.scala-sbt.org/0.13/docs/Library-Dependencies.html): +Mocked Streams 3.5.2 is a library for Scala 2.12 and Scala 2.13 which allows you to **unit-test processing topologies** of [Kafka Streams](https://kafka.apache.org/documentation#streams) applications (since Apache Kafka >=0.10.1) **without Zookeeper and Kafka Brokers**. Further, you can use your favourite Scala testing framework e.g. [ScalaTest](http://www.scalatest.org/) and [Specs2](https://etorreborre.github.io/specs2/). Mocked Streams is located at the Maven Central Repository, therefore you just have to add the following to your [SBT dependencies](http://www.scala-sbt.org/0.13/docs/Library-Dependencies.html): - libraryDependencies += "com.madewithtea" %% "mockedstreams" % "3.5.1" % "test" + libraryDependencies += "com.madewithtea" %% "mockedstreams" % "3.5.2" % "test" ## Getting Started @@ -36,6 +36,7 @@ Please use the corresponding Mocked Streams version to a concrete Apache Kafka v | Mocked Streams Version | Apache Kafka Version | |------------- |-------------| +| 3.5.2 | 2.4.0.0 | | 3.5.1 | 2.4.0.0 | | 3.5.0 | 2.4.0.0 | | 3.4.0 | 2.3.0.0 | @@ -59,6 +60,8 @@ Please use the corresponding Mocked Streams version to a concrete Apache Kafka v ## Companies using Mocked Streams +* [BlaBlaCar](https://medium.com/blablacar-tech) +* [PMU.fr](https://www.pmu.fr/) * [Sky.uk](https://www.sky.com/) -* [moip, a wirecard company](https://moip.com.br/en/) * [Hive Streaming AB](https://www.hivestreaming.com/) +* [moip, a wirecard company](https://moip.com.br/en/) diff --git a/project/plugins.sbt b/project/plugins.sbt index bff7d3b..89fde1e 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -1,5 +1,5 @@ addSbtPlugin("org.scoverage" % "sbt-scoverage" % "1.6.1") addSbtPlugin("com.jsuereth" % "sbt-pgp" % "1.1.0") addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.0.0") -addSbtPlugin("com.47deg" % "sbt-microsites" % "1.0.1") +addSbtPlugin("com.47deg" % "sbt-microsites" % "1.1.5") addSbtPlugin("org.scalameta" % "sbt-mdoc" % "2.1.5") diff --git a/src/main/scala/com/madewithtea/mockedstreams/MockedStreams.scala b/src/main/scala/com/madewithtea/mockedstreams/MockedStreams.scala index 1ecb4a1..9fb4cda 100644 --- a/src/main/scala/com/madewithtea/mockedstreams/MockedStreams.scala +++ b/src/main/scala/com/madewithtea/mockedstreams/MockedStreams.scala @@ -110,7 +110,7 @@ object MockedStreams { } /** - * @throws IllegalArgumentException if duration is negative or can't be represented as long milliseconds + * @throws lllegalArgumentException if duration is negative or can't be represented as long milliseconds */ def windowStateTable[K, V]( name: String, From f69a8c3715e8b04230e4067115e6d08150f7f67b Mon Sep 17 00:00:00 2001 From: Jendrik Poloczek Date: Tue, 24 Mar 2020 16:08:16 +0100 Subject: [PATCH 4/5] changed base url for mdoc microsite --- build.sbt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sbt b/build.sbt index 2732017..058952a 100644 --- a/build.sbt +++ b/build.sbt @@ -69,7 +69,7 @@ pomExtra := micrositeName := "Mocked Streams" micrositeDescription := "Unit-Testing Topologies in Kafka Streams" micrositeUrl := "http://mockedstreams.madewithtea.com" -micrositeBaseUrl := "/" +micrositeBaseUrl := "" micrositeTheme := "pattern" micrositeDocumentationUrl := "/docs" micrositeGitterChannel := false From fc99518221d7480aa4a745a5b67ed4dde9585e45 Mon Sep 17 00:00:00 2001 From: Jendrik Poloczek Date: Tue, 24 Mar 2020 16:11:42 +0100 Subject: [PATCH 5/5] added Ivan Orone as contributor --- CONTRIBUTORS.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index 5892592..1e2ec89 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -1,5 +1,6 @@ # Contributors +* Ivan Orone * Hamidreza Afzali * Jendrik Poloczek * Svend Vanderveken