Skip to content

Commit d55a091

Browse files
committed
Remove Gemfire support in Spring Batch
Based on the decision to discontinue the support of Spring Data for Apache Geode [1], this commit removes the support for Geode in Spring Batch. The code will be moved to the spring-batch-extensions repository as a community-driven effort. [1]: https://github.com/spring-projects/spring-data-geode#notice Resolves #4214
1 parent de567e8 commit d55a091

File tree

9 files changed

+0
-479
lines changed

9 files changed

+0
-479
lines changed

pom.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,6 @@
5959

6060
<!-- optional production dependencies -->
6161
<jackson.version>2.13.4</jackson.version>
62-
<spring-data-geode.version>3.0.0-SNAPSHOT</spring-data-geode.version>
6362
<spring-data-commons.version>3.0.0-SNAPSHOT</spring-data-commons.version>
6463
<spring-data-jpa.version>3.0.0-SNAPSHOT</spring-data-jpa.version>
6564
<spring-data-mongodb.version>4.0.0-SNAPSHOT</spring-data-mongodb.version>

spring-batch-docs/src/main/asciidoc/appendix.adoc

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,6 @@ This reader stores message offsets in the execution context to support restart c
8585
in an injected `List` of `ItemWriter` objects.
8686
|`FlatFileItemWriter`|Writes to a flat file. Includes `ItemStream` and
8787
Skippable functionality. See link:readersAndWriters.html#flatFileItemWriter["`FlatFileItemWriter`"].
88-
|`GemfireItemWriter`|Using a `GemfireOperations` object, items are either written
89-
or removed from the Gemfire instance based on the configuration of the delete
90-
flag.
9188
|`HibernateItemWriter`|This item writer is Hibernate-session aware
9289
and handles some transaction-related work that a non-"`hibernate-aware`"
9390
item writer would not need to know about and then delegates

spring-batch-docs/src/main/asciidoc/readersAndWriters.adoc

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2933,7 +2933,6 @@ Spring Batch offers the following database writers:
29332933
* <<hibernateItemWriter>>
29342934
* <<jdbcBatchItemWriter>>
29352935
* <<jpaItemWriter>>
2936-
* <<gemfireItemWriter>>
29372936

29382937
[[neo4jItemWriter]]
29392938
===== `Neo4jItemWriter`
@@ -2972,12 +2971,6 @@ The `JpaItemWriter` is an `ItemWriter` that uses a JPA `EntityManagerFactory` to
29722971
any entities that are not part of the persistence context. Spring Batch provides a
29732972
`JpaItemWriterBuilder` to construct an instance of the `JpaItemWriter`.
29742973

2975-
[[gemfireItemWriter]]
2976-
===== `GemfireItemWriter`
2977-
The `GemfireItemWriter` is an `ItemWriter` that uses a `GemfireTemplate` that stores
2978-
items in GemFire as key/value pairs. Spring Batch provides a `GemfireItemWriterBuilder`
2979-
to construct an instance of the `GemfireItemWriter`.
2980-
29812974
[[specializedReaders]]
29822975
==== Specialized Readers
29832976
Spring Batch offers the following specialized readers:

spring-batch-infrastructure/pom.xml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -131,12 +131,6 @@
131131
<version>${jakarta.persistence-api.version}</version>
132132
<optional>true</optional>
133133
</dependency>
134-
<dependency>
135-
<groupId>org.springframework.data</groupId>
136-
<artifactId>spring-data-geode</artifactId>
137-
<version>${spring-data-geode.version}</version>
138-
<optional>true</optional>
139-
</dependency>
140134
<dependency>
141135
<groupId>org.springframework.data</groupId>
142136
<artifactId>spring-data-commons</artifactId>

spring-batch-infrastructure/src/main/java/org/springframework/batch/item/data/GemfireItemWriter.java

Lines changed: 0 additions & 66 deletions
This file was deleted.

spring-batch-infrastructure/src/main/java/org/springframework/batch/item/data/SpELMappingGemfireItemWriter.java

Lines changed: 0 additions & 37 deletions
This file was deleted.

spring-batch-infrastructure/src/main/java/org/springframework/batch/item/data/builder/GemfireItemWriterBuilder.java

Lines changed: 0 additions & 92 deletions
This file was deleted.

spring-batch-infrastructure/src/test/java/org/springframework/batch/item/data/GemfireItemWriterTests.java

Lines changed: 0 additions & 147 deletions
This file was deleted.

0 commit comments

Comments
 (0)