{"action":"created","issue":{"url":"https://api.github.com/repos/compose/transporter/issues/56","labels_url":"https://api.github.com/repos/compose/transporter/issues/56/labels{/name}","comments_url":"https://api.github.com/repos/compose/transporter/issues/56/comments","events_url":"https://api.github.com/repos/compose/transporter/issues/56/events","html_url":"https://github.com/compose/transporter/issues/56","id":56492062,"number":56,"title":"Sync data between Mongodb and ElasticSearch errors.","user":{"login":"ngocthanhit","id":849113,"avatar_url":"https://avatars.githubusercontent.com/u/849113?v=3","gravatar_id":"","url":"https://api.github.com/users/ngocthanhit","html_url":"https://github.com/ngocthanhit","followers_url":"https://api.github.com/users/ngocthanhit/followers","following_url":"https://api.github.com/users/ngocthanhit/following{/other_user}","gists_url":"https://api.github.com/users/ngocthanhit/gists{/gist_id}","starred_url":"https://api.github.com/users/ngocthanhit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ngocthanhit/subscriptions","organizations_url":"https://api.github.com/users/ngocthanhit/orgs","repos_url":"https://api.github.com/users/ngocthanhit/repos","events_url":"https://api.github.com/users/ngocthanhit/events{/privacy}","received_events_url":"https://api.github.com/users/ngocthanhit/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-02-04T07:55:45Z","updated_at":"2015-02-05T09:54:06Z","closed_at":null,"body":"Hello all, \r\nWe have an issue when config the sync data from mongodb to ES. \r\nthanhtruong$ ./transporter eval --config ./test/config.yaml 'Source({name:\"localmongo\", namespace: \"testdb.2b66d7a9-8cb5-4802-838a-f1f58869bbf5_campaigns\"}).save({name:\"es\", namespace: \"2b66d7a9-8cb5-4802-838a-f1f58869bbf5_campaigns.testdata\"})'\r\nMongo Config {URI:mongodb://localhost/testdb Namespace:testdb.2b66d7a9-8cb5-4802-838a-f1f58869bbf5_campaigns Debug:true Tail:false Wc:0 FSync:false Bulk:false}\r\nsetting start timestamp: 6111893325843791872\r\ntransporter: CRITICAL: elasticsearch error (Bulk Insertion Error. Failed item count [4])\r\ntransporter: CRITICAL: elasticsearch error (Bulk Insertion Error. Failed item count [4])\r\ntransporter: CRITICAL: elasticsearch error (Bulk Insertion Error. Failed item count [3])\r\ntransporter: CRITICAL: elasticsearch error (Bulk Insertion Error. Failed item count [4])\r\ntransporter: CRITICAL: elasticsearch error (Bulk Insertion Error. Failed item count [4])\r\n\r\nDid someone see it before? Here are the nodes of my transporter: \r\nthanhtruong$ ./transporter list --config ./test/config.yaml\r\nName                 Type            URI\r\nlocalmongo           mongo           mongodb://localhost/tokyo_api_development_campaigns\r\nes                   elasticsearch   http://127.0.0.1:9200/2b66d7a9-8cb5-4802-838a-f1f58869bbf5_campaigns\r\n\r\nThanks for your help.\r\n\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/compose/transporter/issues/comments/73020569","html_url":"https://github.com/compose/transporter/issues/56#issuecomment-73020569","issue_url":"https://api.github.com/repos/compose/transporter/issues/56","id":73020569,"user":{"login":"ngocthanhit","id":849113,"avatar_url":"https://avatars.githubusercontent.com/u/849113?v=3","gravatar_id":"","url":"https://api.github.com/users/ngocthanhit","html_url":"https://github.com/ngocthanhit","followers_url":"https://api.github.com/users/ngocthanhit/followers","following_url":"https://api.github.com/users/ngocthanhit/following{/other_user}","gists_url":"https://api.github.com/users/ngocthanhit/gists{/gist_id}","starred_url":"https://api.github.com/users/ngocthanhit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ngocthanhit/subscriptions","organizations_url":"https://api.github.com/users/ngocthanhit/orgs","repos_url":"https://api.github.com/users/ngocthanhit/repos","events_url":"https://api.github.com/users/ngocthanhit/events{/privacy}","received_events_url":"https://api.github.com/users/ngocthanhit/received_events","type":"User","site_admin":false},"created_at":"2015-02-05T09:54:06Z","updated_at":"2015-02-05T09:54:06Z","body":"Hi @codepope \r\nI can solve above issue, but i have a question which want to ask you : \r\nHow can i make the transporter to run as a process , right now after run the transporter command, it was quite after that. Here is the logs : \r\nthanhtruong$ ./transporter run --config ./test/config.yaml ./test/aaa.js\r\nMongo Config {URI:mongodb://localhost/testdb Namespace:testdb.foo Debug:true Tail:false Wc:0 FSync:false Bulk:false}\r\nsetting start timestamp: 6112294905285967872 \r\n\r\nThanks. \r\n"}}