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

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

                Author: ASF GitHub Bot
            Created on: 05/Mar/20 15:53
            Start Date: 05/Mar/20 15:53
    Worklog Time Spent: 10m 
      Work Description: chamikaramj commented on pull request #11048: 
[BEAM-9433] Create expansion service artifact for common Java IOs.
URL: https://github.com/apache/beam/pull/11048#discussion_r388065824
 
 

 ##########
 File path: 
sdks/java/expansion-service/src/main/java/org/apache/beam/sdk/expansion/service/ExpansionService.java
 ##########
 @@ -404,7 +408,11 @@ public void close() throws Exception {
   public static void main(String[] args) throws Exception {
     int port = Integer.parseInt(args[0]);
     System.out.println("Starting expansion service at localhost:" + port);
-    Server server = ServerBuilder.forPort(port).addService(new 
ExpansionService()).build();
+    ExpansionService service = new ExpansionService();
+    for (Map.Entry<String, TransformProvider> entry : 
service.registeredTransforms.entrySet()) {
+      System.out.println("\t" + entry.getKey() + ": " + entry.getValue());
 
 Review comment:
   Prob. change to a log statement if you wish to keep this.
 
----------------------------------------------------------------
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:
us...@infra.apache.org


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

    Worklog Id:     (was: 398447)
    Time Spent: 20m  (was: 10m)

> Create an expansion service artifact for common IOs
> ---------------------------------------------------
>
>                 Key: BEAM-9433
>                 URL: https://issues.apache.org/jira/browse/BEAM-9433
>             Project: Beam
>          Issue Type: New Feature
>          Components: io-java-kafka, sdk-java-core, sdk-py-core
>            Reporter: Robert Bradshaw
>            Assignee: Robert Bradshaw
>            Priority: Major
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> This will allow users to easily leverage Java IOs from Python/Go/... 
> pipelines. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to