awslabs / dynamodb-cross-region-library

A library to facilitate cross-region replication with Amazon DynamoDB Streams.
Apache License 2.0
275 stars 98 forks source link

Can not configure dynamodb-replication-server port #10

Closed dijimsta closed 8 years ago

dijimsta commented 9 years ago

Port is not configurable and is always set to the default value of 7000.

jseed commented 8 years ago

From my understanding, DynamoDBReplicationServer.jar already accepts --port as an argument, defaulting it to 7000 (Line 63).
Configuring a port would require two modifications...

  1. Add this argument to start.sh.
  2. Expose the correct port in the Dockerfile.
dymaws commented 8 years ago

Hi,

As a part of the improvement process for cross-region replication library, we have refactored the library completely and released an updated version. As a result, the previous version involving multiple components has been deprecated and I suggest you use the new libraries as command-line tools instead. The code has also been refactored down to the fundamental components only, stripping away other complicated and unnecessary dependencies. This should make the library much easier to understand, and a lot less cumbersome to manage as a client-side solution.

Thank you!