[ 
https://issues.apache.org/jira/browse/GOBBLIN-820?focusedWorklogId=273717&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-273717
 ]

ASF GitHub Bot logged work on GOBBLIN-820:
------------------------------------------

                Author: ASF GitHub Bot
            Created on: 09/Jul/19 05:50
            Start Date: 09/Jul/19 05:50
    Worklog Time Spent: 10m 
      Work Description: htran1 commented on pull request #2682: [GOBBLIN-820] 
Add keyed write capability to Kafka writer
URL: https://github.com/apache/incubator-gobblin/pull/2682#discussion_r300887468
 
 

 ##########
 File path: 
gobblin-core-base/src/main/java/org/apache/gobblin/types/TypeMapper.java
 ##########
 @@ -0,0 +1,43 @@
+/*
+ * 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.types;
+
+import java.io.Closeable;
+import java.io.IOException;
+
+import com.typesafe.config.Config;
+
+
+/**
+ * An interface that allows Gobblin constructs to introspect a type T
+ * @param <T>
+ */
+public interface TypeMapper<T> extends Closeable {
+
+  default void configure(Config config) {
+
+  }
+
+  Object getField(T record, String fieldPath)
 
 Review comment:
   Should the return type also be parameterized?
 
----------------------------------------------------------------
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: 273717)
    Time Spent: 1h 10m  (was: 1h)

> Support keyed writer for Kafka
> ------------------------------
>
>                 Key: GOBBLIN-820
>                 URL: https://issues.apache.org/jira/browse/GOBBLIN-820
>             Project: Apache Gobblin
>          Issue Type: Improvement
>          Components: gobblin-kafka
>            Reporter: Shirshanka Das
>            Assignee: Shirshanka Das
>            Priority: Major
>              Labels: kafka
>          Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> The current Kafka writer uses the non-keyed API to produce to Kafka. 
> This issue proposes to add support for keyed writes to Kafka. 
> Constraints:
>  * Minimal changes needed to existing pipeline configuration to add support 
> for keyed writes to Kafka
>  * Minimal changes to gobblin-core. Do not add general support for 
> keyed-writers as part of this issue. 
>  
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to