Skip to content
This repository has been archived by the owner on Jul 14, 2023. It is now read-only.

Commit

Permalink
Update README.md and set the version
Browse files Browse the repository at this point in the history
  • Loading branch information
sjkwak committed Oct 3, 2017
1 parent 5651e10 commit 50e899a
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 5 deletions.
23 changes: 23 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,29 @@ providing more control on the checkpointing logic.
For more information about the checkpointing feature,
[please read here](checkpointing.md).

## Build configuration

Reactive Event Hubs is available in Maven Central for Scala 2.12.
To import the library into your project, add the following reference in your
`build.sbt` file:

```libraryDependencies += "com.microsoft.azure" %% "azure-eventhubs-reactive" % "0.5.0"```

or this dependency in `pom.xml` file when working with Maven:

```xml
<dependency>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-eventhubs-reactive_2.12</artifactId>
<version>0.5.0</version>
</dependency>
```

Reactive Event Hubs internally uses some libraries like Azure Storage SDK,
Akka etc. If your project depends on these libraries too, your can override the
versions, explicitly importing the packages in your `build.sbt` and `pom.xml`
files. If you encounter some incompatibility with future versions of these,
please let us know opening an issue, or sending a PR.

### Event Hub configuration

Expand Down
4 changes: 2 additions & 2 deletions build.sbt
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// Copyright (c) Microsoft. All rights reserved.

name := "azure-event-hubs-reactive"
name := "azure-eventhubs-reactive"
organization := "com.microsoft.azure"

version := "0.1.0"
version := "0.5.0"

scalaVersion := "2.12.1"
crossScalaVersions := Seq("2.11.8", "2.12.1")
Expand Down
13 changes: 10 additions & 3 deletions samples-java/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,22 @@
<modelVersion>4.0.0</modelVersion>

<groupId>com.microsoft.azure</groupId>
<artifactId>azure-event-hubs-reactive-demo</artifactId>
<artifactId>azure-eventhubs-reactive-demo</artifactId>
<version>0.1.0</version>

<!--<repositories>
<repository>
<id>commicrosoftazure</id>
<url>https://oss.sonatype.org/content/repositories/commicrosoftazure-2030/</url>
</repository>
</repositories>-->

<dependencies>
<!-- TODO: fix `sbt samplesJava/run` and remove this dependency, using the source code instead -->
<dependency>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-event-hubs-reactive_2.12</artifactId>
<version>0.1.0</version>
<artifactId>azure-eventhubs-reactive_2.12</artifactId>
<version>0.5.0</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
Expand Down

0 comments on commit 50e899a

Please sign in to comment.