)]}'
{"monasca_api/conf/kafka.py":[{"author":{"_account_id":16222,"name":"witek","email":"witold.bedyk@suse.com","username":"witek"},"change_message_id":"6838667fd2bda568ade0e26ae9980030163f298b","unresolved":false,"context_lines":[{"line_number":65,"context_line":"                     \u0027kafka-python library is used. Message format version \u0027"},{"line_number":66,"context_line":"                     \u0027for the brokers should be set to 0.9.0.0 to avoid \u0027"},{"line_number":67,"context_line":"                     \u0027performance issues until all consumers are upgraded.\u0027),"},{"line_number":68,"context_line":"    cfg.IntOpt(\u0027max_metrics_per_batch\u0027, default\u003d1000,"},{"line_number":69,"context_line":"               help\u003d\u0027The maximum number of metrics per payload sent to \u0027"},{"line_number":70,"context_line":"                    \u0027Kafka. Posts to the Monasca API which exceed this will \u0027"},{"line_number":71,"context_line":"                    \u0027be chunked into batches not exceeding this number.\u0027)"}],"source_content_type":"text/x-python","patch_set":7,"id":"3fa7e38b_b3fcdf0c","line":68,"range":{"start_line":68,"start_character":16,"end_line":68,"end_character":37},"updated":"2019-11-12 14:09:58.000000000","message":"Let\u0027s rename it to `queue_buffering_max_messages`, so that we can move to Confluent Kafka client configuration option using the same name[1] after we remove the legacy code.\n\nPlease also add a release note describing the new configuration option.\n\n[1] https://github.com/edenhill/librdkafka/blob/master/CONFIGURATION.md","commit_id":"e2f989f4695b2bdcec1482c3dfcfa864ae289087"}],"monasca_api/v2/reference/metrics.py":[{"author":{"_account_id":16222,"name":"witek","email":"witold.bedyk@suse.com","username":"witek"},"change_message_id":"a40501ef6ee5783ec988584d6ec12234d812bf9f","unresolved":false,"context_lines":[{"line_number":64,"context_line":"                                                 str(ex))"},{"line_number":65,"context_line":""},{"line_number":66,"context_line":"    def _send_metrics(self, metrics):"},{"line_number":67,"context_line":"        batch_size \u003d cfg.CONF.kafka.max_metrics_per_batch"},{"line_number":68,"context_line":"        try:"},{"line_number":69,"context_line":"            for i in range(0, len(metrics), batch_size):"},{"line_number":70,"context_line":"                batch \u003d metrics[i:i + batch_size]"}],"source_content_type":"text/x-python","patch_set":2,"id":"9fb8cfa7_826dfdcd","line":67,"updated":"2019-07-03 15:38:49.000000000","message":"We could move this initialization to the constructor.","commit_id":"901e35e232be301df11b875e300215d153364d40"}]}
