Skip to content
This repository has been archived by the owner on Jan 19, 2022. It is now read-only.

PubSubItemWriter and PubSubItemReader for Spring Batch #2512

Open
nklausen opened this issue Sep 9, 2020 · 3 comments
Open

PubSubItemWriter and PubSubItemReader for Spring Batch #2512

nklausen opened this issue Sep 9, 2020 · 3 comments

Comments

@nklausen
Copy link

nklausen commented Sep 9, 2020

Is your feature request related to a problem? Please describe.
As a Spring batch developer, I want to be able to read and write to and from a Google PubSub, using the patterns in Spring Batch
https://docs.spring.io/spring-batch/docs/4.2.x/reference/html/readersAndWriters.html#itemReader
https://docs.spring.io/spring-batch/docs/4.2.x/reference/html/readersAndWriters.html#itemWriter

Describe the solution you'd like

Implementing a Google PubSubItemReader and PubSubItemWriter with builders similar to the once for Kafka

Describe alternatives you've considered
N/A

Additional context
Like with #2509, it will help adoption of PubSub, if it was possible to use it in Spring Batch, with the same interface as the rest of the readers and writers.

@meltsufin meltsufin added pubsub GCP PubSub batch labels Sep 9, 2020
@meltsufin
Copy link
Contributor

I think this makes sense. We haven't yet provided any support for Spring Batch, but it's a pretty popular project in the Spring ecosystem. As always, contributions are welcome.

@nklausen
Copy link
Author

Where do you see this belongs? is it a new project spring-cloud-gcp-batch under the spring-cloud-gcp umbrella?

@meltsufin
Copy link
Contributor

I think I would just put it under /spring-cloud-gcp-pubsub in the org.springframework.cloud.gcp.pubsub.batch package.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

No branches or pull requests

2 participants