Skip to content

Commit

Permalink
Issue 276: Prepare for 0.9 release (#278)
Browse files Browse the repository at this point in the history
Updated all artifact versions to 0.9.0. Updated Schema Registry version to 0.2.0, added Pravega client dependency and fixed one API call signature.

Signed-off-by: Raúl <raul.gracia@emc.com>
  • Loading branch information
RaulGracia authored Mar 9, 2021
1 parent 25d468e commit 371c1b4
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 9 deletions.
14 changes: 7 additions & 7 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -8,29 +8,29 @@
# http://www.apache.org/licenses/LICENSE-2.0
#
### Pravega dependencies
pravegaVersion=0.8.0
pravegaKeycloakVersion=0.8.0
pravegaVersion=0.9.0
pravegaKeycloakVersion=0.9.0

### Pravega-samples output library
samplesVersion=0.8.0
samplesVersion=0.9.0

### Flink-connector dependencies
flinkConnectorVersion=0.9.0-50.e9d5a98-SNAPSHOT
flinkConnectorVersion=0.9.0
flinkVersion=1.11.2
flinkMajorMinorVersion=1.11
flinkScalaVersion=2.12

### hadoop connector dependencies
hadoopConnectorVersion=0.8.0
hadoopConnectorVersion=0.9.0

### schema registry sample dependencies
schemaRegistryVersion=0.1.0
schemaRegistryVersion=0.2.0
commonsCliVersion=1.4

### Spark connector dependencies
scalaVersion=2.11.8
sparkVersion=2.4.6
sparkConnectorVersion=0.8.0-SNAPSHOT
sparkConnectorVersion=0.9.0

### Samples application dependencies
hadoopVersion=2.8.1
Expand Down
1 change: 1 addition & 0 deletions schema-registry-examples/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ repositories {
}

dependencies {
compile "io.pravega:pravega-client:${pravegaVersion}"
compile "io.pravega:schemaregistry-serializers:${schemaRegistryVersion}"
compile "commons-cli:commons-cli:${commonsCliVersion}"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@
import org.apache.commons.cli.Options;
import org.apache.commons.cli.ParseException;

import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.OutputStream;
import java.net.URI;
import java.nio.ByteBuffer;
import java.util.Base64;
Expand Down Expand Up @@ -91,7 +91,7 @@ public CodecType getCodecType() {
}

@Override
public void encode(ByteBuffer data, ByteArrayOutputStream bos) throws IOException {
public void encode(ByteBuffer data, OutputStream bos) throws IOException {
// left rotate by 1 byte
byte[] array = new byte[data.remaining()];
data.get(array);
Expand Down

0 comments on commit 371c1b4

Please sign in to comment.