Skip to content

Commit b75c592

Browse files
authored
Update S3 Source to be EU compatible (#3946)
* Update S3 Source to be EU compatible * Update src/connections/sources/catalog/cloud-apps/amazon-s3/index.md * Update src/connections/sources/catalog/cloud-apps/amazon-s3/index.md * Update src/connections/sources/catalog/cloud-apps/amazon-s3/index.md * Update src/connections/sources/catalog/cloud-apps/amazon-s3/index.md
1 parent 9e0de06 commit b75c592

File tree

1 file changed

+10
-0
lines changed
  • src/connections/sources/catalog/cloud-apps/amazon-s3

1 file changed

+10
-0
lines changed

src/connections/sources/catalog/cloud-apps/amazon-s3/index.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,16 @@ var Objects = require('objects-node');
9393
9494
var analytics = new Analytics(process.env.write_key);
9595
var objects = new Objects(process.env.write_key);
96+
97+
// NOTE: if sending to an EU-based source, then the analytics and object SDKs
98+
// need to be initialized with the appropriate host name.
99+
// var analytics = new Analytics(process.env.write_key, {
100+
// host: "https://events.eu1.segmentapis.com"
101+
// });
102+
// var objects = new Objects(process.env.write_key, {
103+
// host: "http://objects.euw1.segment.com"
104+
// });
105+
96106
var s3 = new AWS.S3();
97107
98108
exports.handler = function(event, context, callback) {

0 commit comments

Comments
 (0)