{"action":"created","issue":{"url":"https://api.github.com/repos/openzipkin/zipkin-aws/issues/97","repository_url":"https://api.github.com/repos/openzipkin/zipkin-aws","labels_url":"https://api.github.com/repos/openzipkin/zipkin-aws/issues/97/labels{/name}","comments_url":"https://api.github.com/repos/openzipkin/zipkin-aws/issues/97/comments","events_url":"https://api.github.com/repos/openzipkin/zipkin-aws/issues/97/events","html_url":"https://github.com/openzipkin/zipkin-aws/issues/97","id":343062549,"node_id":"MDU6SXNzdWUzNDMwNjI1NDk=","number":97,"title":"Kinesis collector does not use Region in Docker","user":{"login":"freelanceadm","id":5717466,"node_id":"MDQ6VXNlcjU3MTc0NjY=","avatar_url":"https://avatars0.githubusercontent.com/u/5717466?v=4","gravatar_id":"","url":"https://api.github.com/users/freelanceadm","html_url":"https://github.com/freelanceadm","followers_url":"https://api.github.com/users/freelanceadm/followers","following_url":"https://api.github.com/users/freelanceadm/following{/other_user}","gists_url":"https://api.github.com/users/freelanceadm/gists{/gist_id}","starred_url":"https://api.github.com/users/freelanceadm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/freelanceadm/subscriptions","organizations_url":"https://api.github.com/users/freelanceadm/orgs","repos_url":"https://api.github.com/users/freelanceadm/repos","events_url":"https://api.github.com/users/freelanceadm/events{/privacy}","received_events_url":"https://api.github.com/users/freelanceadm/received_events","type":"User","site_admin":false},"labels":[{"id":881593407,"node_id":"MDU6TGFiZWw4ODE1OTM0MDc=","url":"https://api.github.com/repos/openzipkin/zipkin-aws/labels/Kinesis","name":"Kinesis","color":"145cba","default":false},{"id":452126644,"node_id":"MDU6TGFiZWw0NTIxMjY2NDQ=","url":"https://api.github.com/repos/openzipkin/zipkin-aws/labels/enhancement","name":"enhancement","color":"84b6eb","default":true},{"id":452126645,"node_id":"MDU6TGFiZWw0NTIxMjY2NDU=","url":"https://api.github.com/repos/openzipkin/zipkin-aws/labels/help%20wanted","name":"help wanted","color":"128A0C","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":22,"created_at":"2018-07-20T10:50:46Z","updated_at":"2018-08-10T04:36:56Z","closed_at":null,"author_association":"NONE","body":"Sorry if I make issue in wrong format.\r\nI am running zipkin with kinesis collector. \r\nMy kinesis stream is us-east-2 but Kinesis collector always try to connect to us-east-1.\r\nWhen Kinesis stream in us-east-1 all is working fine.\r\nAnd here is my docker-compose.yml\r\n--------------------------------\r\nversion: '2'\r\nservices:\r\n    zipkin:\r\n      image: openzipkin/zipkin-aws\r\n      container_name: zipkin-aws\r\n      ports:\r\n        - 9411:9411\r\n      networks:\r\n        - docker-net\r\n      environment:\r\n        - STORAGE_TYPE=elasticsearch\r\n        - ES_HOSTS=https://search-*****************.us-east-2.es.amazonaws.com\r\n        - KINESIS_APP_NAME=zipkin-kinesis\r\n        - KINESIS_STREAM_NAME=kinesis-zipkin\r\n        - AWS_ACCESS_KEY_ID=keyid\r\n        - AWS_SECRET_ACCESS_KEY=secretkeyid\r\n        - KINESIS_AWS_STS_REGION=us-east-2\r\n        - AWS_DEFAULT_REGION=us-east-2\r\n        - AWS_CBOR_DISABLE=1\r\nnetworks:\r\n  docker-net:\r\n    driver: bridge\r\n\r\n--------------------------------\r\nMy region is us-east-2 but Kinesis collector alway try to connect to us-east-1.\r\n\r\nzipkin-aws | 2018-07-20 10:34:34.799  INFO 5 --- [           main] o.s.j.e.a.AnnotationMBeanExporter        : Registering beans for JMX exposure on startup\r\nzipkin-aws | 2018-07-20 10:34:35.258  INFO 5 --- [           main] o.s.b.w.e.u.UndertowServletWebServer     : Undertow started on port(s) 9411 (http) with context path ''\r\nzipkin-aws | 2018-07-20 10:34:35.277  INFO 5 --- [           main] z.s.ZipkinServer                         : Started ZipkinServer in 19.063 seconds (JVM running for 20.253)\r\nzipkin-aws | 2018-07-20 10:34:35.468  INFO 5 --- [inesis-zipkin-0] c.a.s.k.c.l.w.Worker                     : Syncing Kinesis shard info\r\nzipkin-aws | 2018-07-20 10:34:35.709 ERROR 5 --- [inesis-zipkin-0] c.a.s.k.c.l.w.ShardSyncTask              : Caught exception while sync'ing Kinesis shards and leases\r\nzipkin-aws |\r\nzipkin-aws | com.amazonaws.services.kinesis.model.ResourceNotFoundException: Stream kinesis-zipkin under account not found. (Service: AmazonKinesis; Status Code: 400; Error Code: ResourceNotFoundException; Request ID: ********************************)\r\nzipkin-aws |    at com.amazonaws.http.AmazonHttpClient$RequestExecutor.handleErrorResponse(AmazonHttpClient.java:1640) ~[aws-java-sdk-core-1.11.348.jar!/:?]\r\nzipkin-aws |    at com.amazonaws.http.AmazonHttpClient$RequestExecutor.executeOneRequest(AmazonHttpClient.java:1304) ~[aws-java-sdk-core-1.11.348.jar!/:?]\r\nzipkin-aws |    at com.amazonaws.http.AmazonHttpClient$RequestExecutor.executeHelper(AmazonHttpClient.java:1058) ~[aws-java-sdk-core-1.11.348.jar!/:?]\r\nzipkin-aws |    at com.amazonaws.http.AmazonHttpClient$RequestExecutor.doExecute(AmazonHttpClient.java:743) ~[aws-java-sdk-core-1.11.348.jar!/:?]\r\nzipkin-aws |    at com.amazonaws.http.AmazonHttpClient$RequestExecutor.executeWithTimer(AmazonHttpClient.java:717) ~[aws-java-sdk-core-1.11.348.jar!/:?]\r\nzipkin-aws |    at com.amazonaws.http.AmazonHttpClient$RequestExecutor.execute(AmazonHttpClient.java:699) ~[aws-java-sdk-core-1.11.348.jar!/:?]\r\nzipkin-aws |    at com.amazonaws.http.AmazonHttpClient$RequestExecutor.access$500(AmazonHttpClient.java:667) ~[aws-java-sdk-core-1.11.348.jar!/:?]\r\nzipkin-aws |    at com.amazonaws.http.AmazonHttpClient$RequestExecutionBuilderImpl.execute(AmazonHttpClient.java:649) ~[aws-java-sdk-core-1.11.348.jar!/:?]\r\nzipkin-aws |    at com.amazonaws.http.AmazonHttpClient.execute(AmazonHttpClient.java:513) ~[aws-java-sdk-core-1.11.348.jar!/:?]\r\nzipkin-aws |    at com.amazonaws.services.kinesis.AmazonKinesisClient.doInvoke(AmazonKinesisClient.java:2388) ~[aws-java-sdk-kinesis-1.11.348.jar!/:?]\r\nzipkin-aws |    at com.amazonaws.services.kinesis.AmazonKinesisClient.invoke(AmazonKinesisClient.java:2364) ~[aws-java-sdk-kinesis-1.11.348.jar!/:?]\r\nzipkin-aws |    at com.amazonaws.services.kinesis.AmazonKinesisClient.executeListShards(AmazonKinesisClient.java:1337) ~[aws-java-sdk-kinesis-1.11.348.jar!/:?]\r\nzipkin-aws |    at com.amazonaws.services.kinesis.AmazonKinesisClient.listShards(AmazonKinesisClient.java:1312) ~[aws-java-sdk-kinesis-1.11.348.jar!/:?]\r\nzipkin-aws |    at com.amazonaws.services.kinesis.clientlibrary.proxies.KinesisProxy.listShards(KinesisProxy.java:304) ~[amazon-kinesis-client-1.9.1.jar!/:?]\r\nzipkin-aws |    at com.amazonaws.services.kinesis.clientlibrary.proxies.KinesisProxy.getShardList(KinesisProxy.java:365) ~[amazon-kinesis-client-1.9.1.jar!/:?]\r\nzipkin-aws |    at com.amazonaws.services.kinesis.clientlibrary.lib.worker.ShardSyncer.getShardList(ShardSyncer.java:319) ~[amazon-kinesis-client-1.9.1.jar!/:?]\r\nzipkin-aws |    at com.amazonaws.services.kinesis.clientlibrary.lib.worker.ShardSyncer.syncShardLeases(ShardSyncer.java:121) ~[amazon-kinesis-client-1.9.1.jar!/:?]\r\nzipkin-aws |    at com.amazonaws.services.kinesis.clientlibrary.lib.worker.ShardSyncer.checkAndCreateLeasesForNewShards(ShardSyncer.java:90) ~[amazon-kinesis-client-1.9.1.jar!/:?]\r\nzipkin-aws |    at com.amazonaws.services.kinesis.clientlibrary.lib.worker.ShardSyncTask.call(ShardSyncTask.java:71) [amazon-kinesis-client-1.9.1.jar!/:?]\r\nzipkin-aws |    at com.amazonaws.services.kinesis.clientlibrary.lib.worker.MetricsCollectingTaskDecorator.call(MetricsCollectingTaskDecorator.java:49) [amazon-kinesis-client-1.9.1.jar!/:?]\r\nzipkin-aws |    at com.amazonaws.services.kinesis.clientlibrary.lib.worker.Worker.initialize(Worker.java:635) [amazon-kinesis-client-1.9.1.jar!/:?]\r\nzipkin-aws |    at com.amazonaws.services.kinesis.clientlibrary.lib.worker.Worker.run(Worker.java:566) [amazon-kinesis-client-1.9.1.jar!/:?]\r\nzipkin-aws |    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_171]\r\nzipkin-aws |    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_171]\r\nzipkin-aws |    at java.lang.Thread.run(Thread.java:748) [?:1.8.0_171]\r\n"},"comment":{"url":"https://api.github.com/repos/openzipkin/zipkin-aws/issues/comments/411972895","html_url":"https://github.com/openzipkin/zipkin-aws/issues/97#issuecomment-411972895","issue_url":"https://api.github.com/repos/openzipkin/zipkin-aws/issues/97","id":411972895,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMTk3Mjg5NQ==","user":{"login":"adriancole","id":64215,"node_id":"MDQ6VXNlcjY0MjE1","avatar_url":"https://avatars2.githubusercontent.com/u/64215?v=4","gravatar_id":"","url":"https://api.github.com/users/adriancole","html_url":"https://github.com/adriancole","followers_url":"https://api.github.com/users/adriancole/followers","following_url":"https://api.github.com/users/adriancole/following{/other_user}","gists_url":"https://api.github.com/users/adriancole/gists{/gist_id}","starred_url":"https://api.github.com/users/adriancole/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adriancole/subscriptions","organizations_url":"https://api.github.com/users/adriancole/orgs","repos_url":"https://api.github.com/users/adriancole/repos","events_url":"https://api.github.com/users/adriancole/events{/privacy}","received_events_url":"https://api.github.com/users/adriancole/received_events","type":"User","site_admin":false},"created_at":"2018-08-10T04:36:56Z","updated_at":"2018-08-10T04:36:56Z","author_association":"CONTRIBUTOR","body":"ok great. then go ahead and pull request and assuming tests are there and\nREADME if relevant is updated, should be an easy merge\n"}}
{"actor":{"display_login":"adriancole"}}