'Version 1.6.4 of the Amazon Kinesis Client Library'
This commit is contained in:
parent
6d3ffff870
commit
dd14bac4e3
7 changed files with 19 additions and 10 deletions
|
|
@ -2,7 +2,7 @@ Manifest-Version: 1.0
|
|||
Bundle-ManifestVersion: 2
|
||||
Bundle-Name: Amazon Kinesis Client Library for Java
|
||||
Bundle-SymbolicName: com.amazonaws.kinesisclientlibrary;singleton:=true
|
||||
Bundle-Version: 1.6.3
|
||||
Bundle-Version: 1.6.4
|
||||
Bundle-Vendor: Amazon Technologies, Inc
|
||||
Bundle-RequiredExecutionEnvironment: JavaSE-1.7
|
||||
Require-Bundle: org.apache.commons.codec;bundle-version="1.6",
|
||||
|
|
|
|||
|
|
@ -29,6 +29,13 @@ For producer-side developers using the **[Kinesis Producer Library (KPL)][kinesi
|
|||
To make it easier for developers to write record processors in other languages, we have implemented a Java based daemon, called MultiLangDaemon that does all the heavy lifting. Our approach has the daemon spawn a sub-process, which in turn runs the record processor, which can be written in any language. The MultiLangDaemon process and the record processor sub-process communicate with each other over [STDIN and STDOUT using a defined protocol][multi-lang-protocol]. There will be a one to one correspondence amongst record processors, child processes, and shards. For Python developers specifically, we have abstracted these implementation details away and [expose an interface][kclpy] that enables you to focus on writing record processing logic in Python. This approach enables KCL to be language agnostic, while providing identical features and similar parallel processing model across all languages.
|
||||
|
||||
## Release Notes
|
||||
### Release 1.6.4 (July 6, 2016)
|
||||
* Upgrade to AWS SDK for Java 1.11.14
|
||||
* [Issue #74](https://github.com/awslabs/amazon-kinesis-client/issues/74)
|
||||
* [Issue #73](https://github.com/awslabs/amazon-kinesis-client/issues/73)
|
||||
* **Maven Artifact Signing Change**
|
||||
* Artifacts are now signed by the identity `Amazon Kinesis Tools <amazon-kinesis-tools@amazon.com>`
|
||||
|
||||
### Release 1.6.3 (May 12, 2016)
|
||||
* Fix format exception caused by DEBUG log in LeaseTaker [Issue # 68](https://github.com/awslabs/amazon-kinesis-client/issues/68)
|
||||
|
||||
|
|
|
|||
4
pom.xml
4
pom.xml
|
|
@ -6,7 +6,7 @@
|
|||
<artifactId>amazon-kinesis-client</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<name>Amazon Kinesis Client Library for Java</name>
|
||||
<version>1.6.3</version>
|
||||
<version>1.6.4</version>
|
||||
<description>The Amazon Kinesis Client Library for Java enables Java developers to easily consume and process data from Amazon Kinesis.</description>
|
||||
<url>https://aws.amazon.com/kinesis</url>
|
||||
|
||||
|
|
@ -23,7 +23,7 @@
|
|||
</licenses>
|
||||
|
||||
<properties>
|
||||
<aws-java-sdk.version>1.10.61</aws-java-sdk.version>
|
||||
<aws-java-sdk.version>1.11.14</aws-java-sdk.version>
|
||||
</properties>
|
||||
|
||||
<dependencies>
|
||||
|
|
|
|||
|
|
@ -119,7 +119,7 @@ public class KinesisClientLibConfiguration {
|
|||
/**
|
||||
* User agent set when Amazon Kinesis Client Library makes AWS requests.
|
||||
*/
|
||||
public static final String KINESIS_CLIENT_LIB_USER_AGENT = "amazon-kinesis-client-library-java-1.6.3";
|
||||
public static final String KINESIS_CLIENT_LIB_USER_AGENT = "amazon-kinesis-client-library-java-1.6.4";
|
||||
|
||||
/**
|
||||
* KCL will validate client provided sequence numbers with a call to Amazon Kinesis before checkpointing for calls
|
||||
|
|
|
|||
|
|
@ -108,7 +108,8 @@ public class KinesisProxy implements IKinesisProxyExtended {
|
|||
String serviceName,
|
||||
String regionId) {
|
||||
AmazonKinesisClient client = new AmazonKinesisClient(credentialProvider);
|
||||
client.setEndpoint(endpoint, serviceName, regionId);
|
||||
client.setEndpoint(endpoint);
|
||||
client.setSignerRegionOverride(regionId);
|
||||
return client;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@ public class KinesisProxyFactory implements IKinesisProxyFactory {
|
|||
|
||||
/**
|
||||
* Constructor for creating a KinesisProxy factory, using the specified credentials provider and endpoint.
|
||||
*
|
||||
*
|
||||
* @param credentialProvider credentials provider used to sign requests
|
||||
* @param endpoint Amazon Kinesis endpoint to use
|
||||
*/
|
||||
|
|
@ -46,7 +46,7 @@ public class KinesisProxyFactory implements IKinesisProxyFactory {
|
|||
|
||||
/**
|
||||
* Constructor for KinesisProxy factory using the client configuration to use when interacting with Kinesis.
|
||||
*
|
||||
*
|
||||
* @param credentialProvider credentials provider used to sign requests
|
||||
* @param clientConfig Client Configuration used when instantiating an AmazonKinesisClient
|
||||
* @param endpoint Amazon Kinesis endpoint to use
|
||||
|
|
@ -133,7 +133,8 @@ public class KinesisProxyFactory implements IKinesisProxyFactory {
|
|||
String serviceName,
|
||||
String regionId) {
|
||||
AmazonKinesisClient client = new AmazonKinesisClient(credentialProvider, clientConfig);
|
||||
client.setEndpoint(endpoint, serviceName, regionId);
|
||||
client.setEndpoint(endpoint);
|
||||
client.setSignerRegionOverride(regionId);
|
||||
return client;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ package com.amazonaws.services.kinesis.leases.impl;
|
|||
import java.util.UUID;
|
||||
import java.util.concurrent.TimeUnit;
|
||||
|
||||
import com.amazonaws.util.json.JSONObject;
|
||||
import com.amazonaws.util.json.Jackson;
|
||||
|
||||
/**
|
||||
* This class contains data pertaining to a Lease. Distributed systems may use leases to partition work across a
|
||||
|
|
@ -226,7 +226,7 @@ public class Lease {
|
|||
|
||||
@Override
|
||||
public String toString() {
|
||||
return new JSONObject(this).toString();
|
||||
return Jackson.toJsonPrettyString(this);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue