You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2019/03/01 07:44:00 UTC

[jira] [Work logged] (BEAM-6730) Expose Java transforms (specifically IO) in other SDKs

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

ASF GitHub Bot logged work on BEAM-6730:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 01/Mar/19 07:43
            Start Date: 01/Mar/19 07:43
    Worklog Time Spent: 10m 
      Work Description: angoenka commented on pull request #7875: [BEAM-6730] Expose Java SDK's GenerateSequence in Python
URL: https://github.com/apache/beam/pull/7875#discussion_r261490360
 
 

 ##########
 File path: model/pipeline/src/main/proto/external_transforms.proto
 ##########
 @@ -0,0 +1,52 @@
+/*
+ * 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.
+ */
+
+/*
+ * Protocol Buffers describing the external transforms available.
+ */
+
+syntax = "proto3";
+
+package org.apache.beam.model.pipeline.v1;
+
+option go_package = "pipeline_v1";
+option java_package = "org.apache.beam.model.pipeline.v1";
+option java_outer_classname = "ExternalTransforms";
+
+import "beam_runner_api.proto";
+import "google/protobuf/duration.proto";
+
+// Payload for Java's GenerateSequence transform
+message GenerateSequencePayload {
 
 Review comment:
   Instead of having a well defined proto message for the transform, can we have a more generic message like
   ```
   {
   string urn;
   string properties; // JSON or some other standard serialization mechanism. The expansion service can deserialize it or we can only support top level Map<String, String> and the expansion service should unpack it correctly.
   }
   ```
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 206286)
    Time Spent: 3h 20m  (was: 3h 10m)

> Expose Java transforms (specifically IO) in other SDKs
> ------------------------------------------------------
>
>                 Key: BEAM-6730
>                 URL: https://issues.apache.org/jira/browse/BEAM-6730
>             Project: Beam
>          Issue Type: New Feature
>          Components: runner-flink, sdk-java-core, sdk-py-core
>            Reporter: Maximilian Michels
>            Assignee: Maximilian Michels
>            Priority: Major
>          Time Spent: 3h 20m
>  Remaining Estimate: 0h
>
> Since https://github.com/apache/beam/pull/7316 we can reference external transforms which are transforms only available in a "foreign" SDKs. This allows us to fill the gap in terms of missing transforms in the Python and Go SDK, specifically IO transforms.
> We can start collecting/exposing transforms that Beam users need. The following transforms could be interesting:
> - KafkaIO / KinesisIO
> - CassandraIO / ElasticserchIO / Hbase / Redis
> - JDBC
> - S3 file system
> - GenerateSequence
> See also https://s.apache.org/beam-cross-language-io and BEAM-6485.
> CC [~robertwb] [~chamikara] [~thw]



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