{"action":"created","issue":{"url":"https://api.github.com/repos/balabit/syslog-ng/issues/893","repository_url":"https://api.github.com/repos/balabit/syslog-ng","labels_url":"https://api.github.com/repos/balabit/syslog-ng/issues/893/labels{/name}","comments_url":"https://api.github.com/repos/balabit/syslog-ng/issues/893/comments","events_url":"https://api.github.com/repos/balabit/syslog-ng/issues/893/events","html_url":"https://github.com/balabit/syslog-ng/issues/893","id":130614640,"number":893,"title":"Deprecate old configuration parameters in MongoDB destination","user":{"login":"ihrwein","id":1019384,"avatar_url":"https://avatars.githubusercontent.com/u/1019384?v=3","gravatar_id":"","url":"https://api.github.com/users/ihrwein","html_url":"https://github.com/ihrwein","followers_url":"https://api.github.com/users/ihrwein/followers","following_url":"https://api.github.com/users/ihrwein/following{/other_user}","gists_url":"https://api.github.com/users/ihrwein/gists{/gist_id}","starred_url":"https://api.github.com/users/ihrwein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ihrwein/subscriptions","organizations_url":"https://api.github.com/users/ihrwein/orgs","repos_url":"https://api.github.com/users/ihrwein/repos","events_url":"https://api.github.com/users/ihrwein/events{/privacy}","received_events_url":"https://api.github.com/users/ihrwein/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/balabit/syslog-ng/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/balabit/syslog-ng/labels/in%20progress","name":"in progress","color":"207de5"}],"state":"open","locked":false,"assignee":{"login":"bkil-syslogng","id":15342500,"avatar_url":"https://avatars.githubusercontent.com/u/15342500?v=3","gravatar_id":"","url":"https://api.github.com/users/bkil-syslogng","html_url":"https://github.com/bkil-syslogng","followers_url":"https://api.github.com/users/bkil-syslogng/followers","following_url":"https://api.github.com/users/bkil-syslogng/following{/other_user}","gists_url":"https://api.github.com/users/bkil-syslogng/gists{/gist_id}","starred_url":"https://api.github.com/users/bkil-syslogng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bkil-syslogng/subscriptions","organizations_url":"https://api.github.com/users/bkil-syslogng/orgs","repos_url":"https://api.github.com/users/bkil-syslogng/repos","events_url":"https://api.github.com/users/bkil-syslogng/events{/privacy}","received_events_url":"https://api.github.com/users/bkil-syslogng/received_events","type":"User","site_admin":false},"milestone":null,"comments":5,"created_at":"2016-02-02T08:44:17Z","updated_at":"2016-03-10T12:23:12Z","closed_at":null,"body":"Migrating some comments from https://github.com/balabit/syslog-ng/pull/891#issuecomment-178132623:\r\n\r\nme:\r\n```\r\nConfiguration changes: `servers`, `host`, `port`, `path`, `database`, `username`, `password`, `safe-mode` are removed.  `uri` is added, which accepts a mongodb uri as its parameter (https://docs.mongodb.org/manual/reference/connection-string/).\r\n\r\nThese changes are effective on the master branch and will be published first in syslog-ng 3.8. @fekete-robert may be also interested in this.\r\n```\r\n\r\n@bazsi:\r\n```\r\nTelling the user to migrate to the new options is fine and is the policy we applied in the past. We can even remove options if a long enough grace period is available.\r\n\r\nThe fact that 3.8 is a major release is not an excuse to break user configurations, our intent is to make upgrades (even accross major versions) as seamless as possible. \r\n\r\nBreaking configurations this way would upset users of that feature and rightly so.\r\n\r\nI would consider this a critical bug.\r\n```"},"comment":{"url":"https://api.github.com/repos/balabit/syslog-ng/issues/comments/194817981","html_url":"https://github.com/balabit/syslog-ng/issues/893#issuecomment-194817981","issue_url":"https://api.github.com/repos/balabit/syslog-ng/issues/893","id":194817981,"user":{"login":"bkil-syslogng","id":15342500,"avatar_url":"https://avatars.githubusercontent.com/u/15342500?v=3","gravatar_id":"","url":"https://api.github.com/users/bkil-syslogng","html_url":"https://github.com/bkil-syslogng","followers_url":"https://api.github.com/users/bkil-syslogng/followers","following_url":"https://api.github.com/users/bkil-syslogng/following{/other_user}","gists_url":"https://api.github.com/users/bkil-syslogng/gists{/gist_id}","starred_url":"https://api.github.com/users/bkil-syslogng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bkil-syslogng/subscriptions","organizations_url":"https://api.github.com/users/bkil-syslogng/orgs","repos_url":"https://api.github.com/users/bkil-syslogng/repos","events_url":"https://api.github.com/users/bkil-syslogng/events{/privacy}","received_events_url":"https://api.github.com/users/bkil-syslogng/received_events","type":"User","site_admin":false},"created_at":"2016-03-10T12:23:12Z","updated_at":"2016-03-10T12:23:12Z","body":"A question for @bazsi, @pzoleex and others interested in MongoDB:\r\n\r\nShould the semantics of `safe_mode(no)` include turning off client side input document validation via `MONGOC_INSERT_NO_VALIDATE` and leave it to the server (if it supports that at all)?\r\n\r\nhttp://api.mongodb.org/c/current/mongoc_insert_flags_t.html\r\nhttps://github.com/mongodb/mongo-c-driver/blob/master/src/mongoc/mongoc-collection.c#L1261\r\n\r\nWith the original connector, this mostly controlled synchronicity and write concern."}}