[jira] [Commented] (BEAM-5676) Allow to change the PubsubClientFactory when using PubsubIO

2022-06-03 Thread Kenneth Knowles (Jira)


[ 
https://issues.apache.org/jira/browse/BEAM-5676?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17547401#comment-17547401
 ] 

Kenneth Knowles commented on BEAM-5676:
---

This issue has been migrated to https://github.com/apache/beam/issues/19162

> Allow to change the PubsubClientFactory when using PubsubIO
> ---
>
> Key: BEAM-5676
> URL: https://issues.apache.org/jira/browse/BEAM-5676
> Project: Beam
>  Issue Type: Improvement
>  Components: io-java-gcp
>Affects Versions: 2.7.0
>Reporter: Logan HAUSPIE
>Priority: P3
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> When we use PubSub to push or pull messages, we currently have no choice of 
> serialization implementation because PubsubIO use internaly the 
> *_PubsubJsonClient.FACTORY_* of type _*PubsubJsonClientFactory*_ to serialize 
> or deserialize messages.
> It should be nice to be able to set a different factory (e.g. 
> *_PubsubGrpcClientFactory_*) to decrease the size of messages (and then 
> decrease the price of using Pubsub).
>  
> I guess It could be possible to write something like:
> {{PubsubIO.Write write =}}
>  {{    PubsubIO.writeMessages()}}
>  {{            .to("projects/project/topics/topic")}}
>  {{            *.withFactory(PubsubGrpcClient.FACTORY)*}}
>  {{            .withTimestampAttribute("timestamp")}}{{;}}
> or 
> {{PubsubIO.Read read = }}
>  {{    PubsubIO.readMessages()}}
>  {{            .fromSubscription("projects/project/subscriptions/name")}}
>  {{            *.withFactory(PubsubGrpcClient.FACTORY)*}}
>  {{            .withTimestampAttribute("timestamp");}}
>  



--
This message was sent by Atlassian Jira
(v8.20.7#820007)


[jira] [Commented] (BEAM-5676) Allow to change the PubsubClientFactory when using PubsubIO

2020-06-16 Thread Beam JIRA Bot (Jira)


[ 
https://issues.apache.org/jira/browse/BEAM-5676?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17137535#comment-17137535
 ] 

Beam JIRA Bot commented on BEAM-5676:
-

This issue was marked "stale-P2" and has not received a public comment in 14 
days. It is now automatically moved to P3. If you are still affected by it, you 
can comment and move it back to P2.

> Allow to change the PubsubClientFactory when using PubsubIO
> ---
>
> Key: BEAM-5676
> URL: https://issues.apache.org/jira/browse/BEAM-5676
> Project: Beam
>  Issue Type: Improvement
>  Components: io-java-gcp
>Affects Versions: 2.7.0
>Reporter: Logan HAUSPIE
>Priority: P3
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> When we use PubSub to push or pull messages, we currently have no choice of 
> serialization implementation because PubsubIO use internaly the 
> *_PubsubJsonClient.FACTORY_* of type _*PubsubJsonClientFactory*_ to serialize 
> or deserialize messages.
> It should be nice to be able to set a different factory (e.g. 
> *_PubsubGrpcClientFactory_*) to decrease the size of messages (and then 
> decrease the price of using Pubsub).
>  
> I guess It could be possible to write something like:
> {{PubsubIO.Write write =}}
>  {{    PubsubIO.writeMessages()}}
>  {{            .to("projects/project/topics/topic")}}
>  {{            *.withFactory(PubsubGrpcClient.FACTORY)*}}
>  {{            .withTimestampAttribute("timestamp")}}{{;}}
> or 
> {{PubsubIO.Read read = }}
>  {{    PubsubIO.readMessages()}}
>  {{            .fromSubscription("projects/project/subscriptions/name")}}
>  {{            *.withFactory(PubsubGrpcClient.FACTORY)*}}
>  {{            .withTimestampAttribute("timestamp");}}
>  



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


[jira] [Commented] (BEAM-5676) Allow to change the PubsubClientFactory when using PubsubIO

2020-06-01 Thread Beam JIRA Bot (Jira)


[ 
https://issues.apache.org/jira/browse/BEAM-5676?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17123088#comment-17123088
 ] 

Beam JIRA Bot commented on BEAM-5676:
-

This issue is P2 but has been unassigned without any comment for 60 days so it 
has been labeled "stale-P2". If this issue is still affecting you, we care! 
Please comment and remove the label. Otherwise, in 14 days the issue will be 
moved to P3.

Please see https://beam.apache.org/contribute/jira-priorities/ for a detailed 
explanation of what these priorities mean.


> Allow to change the PubsubClientFactory when using PubsubIO
> ---
>
> Key: BEAM-5676
> URL: https://issues.apache.org/jira/browse/BEAM-5676
> Project: Beam
>  Issue Type: Improvement
>  Components: io-java-gcp
>Affects Versions: 2.7.0
>Reporter: Logan HAUSPIE
>Priority: P2
>  Labels: stale-P2
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> When we use PubSub to push or pull messages, we currently have no choice of 
> serialization implementation because PubsubIO use internaly the 
> *_PubsubJsonClient.FACTORY_* of type _*PubsubJsonClientFactory*_ to serialize 
> or deserialize messages.
> It should be nice to be able to set a different factory (e.g. 
> *_PubsubGrpcClientFactory_*) to decrease the size of messages (and then 
> decrease the price of using Pubsub).
>  
> I guess It could be possible to write something like:
> {{PubsubIO.Write write =}}
>  {{    PubsubIO.writeMessages()}}
>  {{            .to("projects/project/topics/topic")}}
>  {{            *.withFactory(PubsubGrpcClient.FACTORY)*}}
>  {{            .withTimestampAttribute("timestamp")}}{{;}}
> or 
> {{PubsubIO.Read read = }}
>  {{    PubsubIO.readMessages()}}
>  {{            .fromSubscription("projects/project/subscriptions/name")}}
>  {{            *.withFactory(PubsubGrpcClient.FACTORY)*}}
>  {{            .withTimestampAttribute("timestamp");}}
>  



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


[jira] [Commented] (BEAM-5676) Allow to change the PubsubClientFactory when using PubsubIO

2019-01-10 Thread Logan HAUSPIE (JIRA)


[ 
https://issues.apache.org/jira/browse/BEAM-5676?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16739597#comment-16739597
 ] 

Logan HAUSPIE commented on BEAM-5676:
-

I will do it next month if no one else has done it before me

> Allow to change the PubsubClientFactory when using PubsubIO
> ---
>
> Key: BEAM-5676
> URL: https://issues.apache.org/jira/browse/BEAM-5676
> Project: Beam
>  Issue Type: Improvement
>  Components: io-java-gcp
>Affects Versions: 2.7.0
>Reporter: Logan HAUSPIE
>Priority: Major
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> When we use PubSub to push or pull messages, we currently have no choice of 
> serialization implementation because PubsubIO use internaly the 
> *_PubsubJsonClient.FACTORY_* of type _*PubsubJsonClientFactory*_ to serialize 
> or deserialize messages.
> It should be nice to be able to set a different factory (e.g. 
> *_PubsubGrpcClientFactory_*) to decrease the size of messages (and then 
> decrease the price of using Pubsub).
>  
> I guess It could be possible to write something like:
> {{PubsubIO.Write write =}}
>  {{    PubsubIO.writeMessages()}}
>  {{            .to("projects/project/topics/topic")}}
>  {{            *.withFactory(PubsubGrpcClient.FACTORY)*}}
>  {{            .withTimestampAttribute("timestamp")}}{{;}}
> or 
> {{PubsubIO.Read read = }}
>  {{    PubsubIO.readMessages()}}
>  {{            .fromSubscription("projects/project/subscriptions/name")}}
>  {{            *.withFactory(PubsubGrpcClient.FACTORY)*}}
>  {{            .withTimestampAttribute("timestamp");}}
>  



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


[jira] [Commented] (BEAM-5676) Allow to change the PubsubClientFactory when using PubsubIO

2019-01-10 Thread Chamikara Jayalath (JIRA)


[ 
https://issues.apache.org/jira/browse/BEAM-5676?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16739589#comment-16739589
 ] 

Chamikara Jayalath commented on BEAM-5676:
--

Logan, please feel free to send a pull request if you have time.

 

cc: [~reuvenlax] [~mil...@google.com]

> Allow to change the PubsubClientFactory when using PubsubIO
> ---
>
> Key: BEAM-5676
> URL: https://issues.apache.org/jira/browse/BEAM-5676
> Project: Beam
>  Issue Type: Improvement
>  Components: io-java-gcp
>Affects Versions: 2.7.0
>Reporter: Logan HAUSPIE
>Priority: Major
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> When we use PubSub to push or pull messages, we currently have no choice of 
> serialization implementation because PubsubIO use internaly the 
> *_PubsubJsonClient.FACTORY_* of type _*PubsubJsonClientFactory*_ to serialize 
> or deserialize messages.
> It should be nice to be able to set a different factory (e.g. 
> *_PubsubGrpcClientFactory_*) to decrease the size of messages (and then 
> decrease the price of using Pubsub).
>  
> I guess It could be possible to write something like:
> {{PubsubIO.Write write =}}
>  {{    PubsubIO.writeMessages()}}
>  {{            .to("projects/project/topics/topic")}}
>  {{            *.withFactory(PubsubGrpcClient.FACTORY)*}}
>  {{            .withTimestampAttribute("timestamp")}}{{;}}
> or 
> {{PubsubIO.Read read = }}
>  {{    PubsubIO.readMessages()}}
>  {{            .fromSubscription("projects/project/subscriptions/name")}}
>  {{            *.withFactory(PubsubGrpcClient.FACTORY)*}}
>  {{            .withTimestampAttribute("timestamp");}}
>  



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