From 3e15fd2be6ee9490e4187a0530c8c97cccf6ede7 Mon Sep 17 00:00:00 2001 From: Matteo Gazzetta Date: Wed, 20 Feb 2019 22:59:31 +0100 Subject: [PATCH 1/4] Kafka 2.1.1, sbt and travis updates --- .travis.yml | 3 ++- build.sbt | 7 +++---- project/build.properties | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index 24eb9d0..b9f5d4e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,7 @@ language: scala scala: - - 2.11.8 + - 2.11.12 + - 2.12.8 jdk: - oraclejdk8 diff --git a/build.sbt b/build.sbt index 0ba641a..f8d05db 100644 --- a/build.sbt +++ b/build.sbt @@ -2,18 +2,17 @@ lazy val commonSettings = Seq( organization := "com.madewithtea", version := "3.1.0", - scalaVersion := "2.12.7", - crossScalaVersions := Seq("2.12.7", "2.11.12"), + scalaVersion := "2.12.8", + crossScalaVersions := Seq("2.12.8", "2.11.12"), description := "Topology Unit-Testing Library for Apache Kafka / Kafka Streams", organizationHomepage := Some(url("https://www.madewithtea.com")), scalacOptions := Seq("-Xexperimental")) val scalaTestVersion = "3.0.5" val rocksDBVersion = "5.17.2" -val kafkaVersion = "2.1.0" +val kafkaVersion = "2.1.1" lazy val kafka = Seq( - "javax.ws.rs" % "javax.ws.rs-api" % "2.1.1" jar(), "org.apache.kafka" % "kafka-clients" % kafkaVersion, "org.apache.kafka" % "kafka-clients" % kafkaVersion classifier "test", "org.apache.kafka" % "kafka-streams" % kafkaVersion, diff --git a/project/build.properties b/project/build.properties index d6e3507..c0bab04 100644 --- a/project/build.properties +++ b/project/build.properties @@ -1 +1 @@ -sbt.version=1.1.6 +sbt.version=1.2.8 From af8a4d9f5f68530dc919342e569b2ef5886c2a17 Mon Sep 17 00:00:00 2001 From: Jendrik Poloczek Date: Fri, 8 Mar 2019 09:18:44 +0000 Subject: [PATCH 2/4] changed version --- build.sbt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sbt b/build.sbt index 0ba641a..05b074c 100644 --- a/build.sbt +++ b/build.sbt @@ -1,7 +1,7 @@ lazy val commonSettings = Seq( organization := "com.madewithtea", - version := "3.1.0", + version := "3.2.0", scalaVersion := "2.12.7", crossScalaVersions := Seq("2.12.7", "2.11.12"), description := "Topology Unit-Testing Library for Apache Kafka / Kafka Streams", From 666c6d08e72781adfabfc09b22bedddb5e0a4cb1 Mon Sep 17 00:00:00 2001 From: Jendrik Poloczek Date: Fri, 8 Mar 2019 09:27:18 +0000 Subject: [PATCH 3/4] changed version in readme --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 0992d4c..3789615 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ [![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) [![License](http://img.shields.io/:license-Apache%202-grey.svg)](http://www.apache.org/licenses/LICENSE-2.0.txt) [![GitHub stars](https://img.shields.io/github/stars/jpzk/mockedstreams.svg?style=flat)](https://github.com/jpzk/mockedstreams/stargazers) -Mocked Streams 3.1.0 [(git)](https://github.com/jpzk/mockedstreams) is a library for Scala 2.11 and 2.12 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.2.0 [(git)](https://github.com/jpzk/mockedstreams) is a library for Scala 2.11 and 2.12 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.1.0" % "test" @@ -13,6 +13,7 @@ Java 8 port of Mocked Streams is [Mockafka](https://github.com/carlosmenezes/moc | Mocked Streams Version | Apache Kafka Version | |------------- |-------------| +| 3.2.0 | 2.1.1.0 | | 3.1.0 | 2.1.0.0 | | 2.2.0 | 2.1.0.0 | | 2.1.0 | 2.0.0.0 | From af450da07da2c43eaaa6b5b0440b18e4562572e7 Mon Sep 17 00:00:00 2001 From: Jendrik Poloczek Date: Fri, 8 Mar 2019 09:28:24 +0000 Subject: [PATCH 4/4] added changelog and contributor --- CHANGELOG.md | 5 +++++ CONTRIBUTORS.md | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3e587c5..ea51e5c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## Mocked Streams 3.2 + +* Added support for Apache Kafka 2.1.1 +* Thanks Matteo Gazzetta + ## Mocked Streams 3.1 * Added support for Scala DSL in topology method diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index 19abd38..099452f 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -7,4 +7,4 @@ * Michal Dziemianko * Dan Hamilton * Mateusz Owczarek - +* Matteo Gazzetta