[
https://issues.apache.org/jira/browse/GOBBLIN-758?focusedWorklogId=236926&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-236926
]
ASF GitHub Bot logged work on GOBBLIN-758:
------------------------------------------
Author: ASF GitHub Bot
Created on: 03/May/19 16:39
Start Date: 03/May/19 16:39
Worklog Time Spent: 10m
Work Description: zxcware commented on pull request #2622: [GOBBLIN-758]
Added new reporters to emit MetricReport and GobblinTrackingEvent without
serializing them. Also added random key generator for reporters.
URL: https://github.com/apache/incubator-gobblin/pull/2622#discussion_r280845303
##########
File path:
gobblin-modules/gobblin-kafka-common/src/main/java/org/apache/gobblin/metrics/kafka/KeyValueMetricObjectReporter.java
##########
@@ -0,0 +1,140 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.gobblin.metrics.kafka;
Review comment:
Apply all comments for `KeyValueEventObjectReporter` here
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 236926)
Time Spent: 20m (was: 10m)
> Use keys to push messages to kafka. Implemented Metric and Event reporters
> that push messages without serialization.
> --------------------------------------------------------------------------------------------------------------------
>
> Key: GOBBLIN-758
> URL: https://issues.apache.org/jira/browse/GOBBLIN-758
> Project: Apache Gobblin
> Issue Type: Improvement
> Reporter: Vikram Bohra
> Priority: Major
> Time Spent: 20m
> Remaining Estimate: 0h
>
> This ticket introduces the following changes.
> 1) It reduces the number of connections to Kafka by using a randomly
> generated key for each instance of the reporter.
> 2) Introduces a KeyValuePusher interface that provides a cleaner way to push
> key value messages to kafka.
> 3) Default implementation of the above interface for kafka.
> 4) New Reporters for reporting GobblinTrackingEvent and MetricReport without
> serializing them.
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)