Use default LocalStack ports
According to https://github.com/localstack/localstack, DynamoDB listens at `4569` by default, and Kinesis listens at `4568` by default. Aligning with that setup means that it is simpler to run these tests without having to tune the LocalStack ports. See also: https://github.com/spring-cloud/spring-cloud-stream-binder-aws-kinesis/pull/64
This commit is contained in:
@@ -47,7 +47,7 @@ import com.amazonaws.services.dynamodbv2.AmazonDynamoDBAsyncClientBuilder;
|
||||
*/
|
||||
public final class DynamoDbLocalRunning extends TestWatcher {
|
||||
|
||||
public static final int DEFAULT_PORT = 4568;
|
||||
public static final int DEFAULT_PORT = 4569;
|
||||
|
||||
private static Log logger = LogFactory.getLog(DynamoDbLocalRunning.class);
|
||||
|
||||
|
||||
@@ -48,7 +48,7 @@ import com.amazonaws.services.kinesis.AmazonKinesisAsyncClientBuilder;
|
||||
*/
|
||||
public final class KinesisLocalRunning extends TestWatcher {
|
||||
|
||||
public static final int DEFAULT_PORT = 4567;
|
||||
public static final int DEFAULT_PORT = 4568;
|
||||
|
||||
private static Log logger = LogFactory.getLog(KinesisLocalRunning.class);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user