instance_id
stringlengths
10
65
repo
stringlengths
5
59
pr_number
int64
1
313k
task_type
stringclasses
1 value
base_commit
stringlengths
40
40
review_commit
stringlengths
40
40
title
stringlengths
2
282
body
stringlengths
7
3k
patch
stringlengths
202
204k
n_defects
int64
1
72
n_supported
int64
1
65
n_major
int64
0
32
defects
stringlengths
140
18.8k
certifier_count
int64
spring-projects__spring-data-couchbase__294
spring-projects/spring-data-couchbase
294
defect
0494247cb1187490acd82aa5aa1e5edca8b0b184
6994afaf336abb73d3b8a415088dff40895cad5c
DATACOUCH-652 - Inject translation service bean in CouchbaseTemplateSupport.
[DATACOUCH-652](https://jira.spring.io/projects/DATACOUCH/issues/DATACOUCH-652) TranslationService is defined as bean but in CouchbaseTemplateSupport. That bean is not being used and a new instance of JacksonTranslationSerivce is being created in the constructor. We want CouchbaseTemplateSupport to receive a Tr...
diff --git a/src/main/java/org/springframework/data/couchbase/config/AbstractCouchbaseConfiguration.java b/src/main/java/org/springframework/data/couchbase/config/AbstractCouchbaseConfiguration.java index 32cf783c2..48fb30e82 100644 --- a/src/main/java/org/springframework/data/couchbase/config/AbstractCouchbaseConfigur...
4
3
1
[{"id": "G0", "claim": "Making TranslationService a required third argument of the couchbaseTemplate and reactiveCouchbaseTemplate bean methods is a breaking change, and the old signatures should be kept as overloads so users who override those beans do not break.", "category": "design", "verdict": "supported", "priori...
null
spring-projects__spring-data-couchbase__86
spring-projects/spring-data-couchbase
86
defect
d81dc9aacc49594115c588fa1fbaa89298445389
4ae59663b8635957727cb2c58d15d403ed2f1e66
DATACOUCH-186 - Index-backed methods safe from deleted stales
This commit ensures that methods in the template and the repository base classes are correctly ignoring documents that have been deleted but are still identified by the view due to using weak consistency (Stale.TRUE). FindByView in template now ignores null rows in its result list. It also correctly forces the include...
diff --git a/src/main/asciidoc/repository.adoc b/src/main/asciidoc/repository.adoc index b1cf4e8b1..900bbd14f 100644 --- a/src/main/asciidoc/repository.adoc +++ b/src/main/asciidoc/repository.adoc @@ -379,6 +379,7 @@ One aspect that is often needed and doesn't have a direct equivalent in the Spri data, because the lat...
1
1
0
[{"id": "G0", "claim": "The phrasing \"is even tricker is\" in the new repository.adoc paragraph sounds funny and should be reworded.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}]
null
spring-projects__spring-data-couchbase__9
spring-projects/spring-data-couchbase
9
defect
740ddc9256771b854bd3c690ee0bc2fa386d59f4
0323d1fdba8a0d17f3cbd4d0ec59c7c63d2079df
DATACOUCH-36 - Don't allow NULL values to be stored.
It is illegal to store a NULL value as a document. An attempt to do so will throw an IllegalArgumentException. -=david=-
diff --git a/src/main/java/org/springframework/data/couchbase/core/mapping/CouchbaseDocument.java b/src/main/java/org/springframework/data/couchbase/core/mapping/CouchbaseDocument.java index f5f47791f..56cd73cc9 100644 --- a/src/main/java/org/springframework/data/couchbase/core/mapping/CouchbaseDocument.java +++ b/src/...
2
1
1
[{"id": "G0", "claim": "Null field values are valid JSON, so verifyValueType should not throw an exception for a null value; the check that a NULL cannot be stored belongs elsewhere (for the document as a whole) and null values should be allowed here.", "category": "correctness", "verdict": "supported", "priority": "P1...
null
spring-projects__spring-data-elasticsearch__1670
spring-projects/spring-data-elasticsearch
1,670
defect
4829b07e53fcbea4b391a6688fd70a580f5a62ab
34b2d875b10a4672f2a5df0724a096efed484411
#1668 Fix subCriteria's not being updated
<!-- Thank you for proposing a pull request. This template will guide you through the essential steps necessary for a pull request. Make sure that: --> - [x] You have read the [Spring Data contribution guidelines](https://github.com/spring-projects/spring-data-build/blob/master/CONTRIBUTING.adoc). - [x] Ther...
diff --git a/src/main/java/org/springframework/data/elasticsearch/core/convert/MappingElasticsearchConverter.java b/src/main/java/org/springframework/data/elasticsearch/core/convert/MappingElasticsearchConverter.java index 2822447b64..86afe874c8 100644 --- a/src/main/java/org/springframework/data/elasticsearch/core/con...
2
2
0
[{"id": "G0", "claim": "Drop the java.util Calendar setup in the subCriteria date test and pass the epoch-millis literal 383745721653L directly to is() (and prefer java.time over legacy date classes).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim"...
null
spring-projects__spring-data-elasticsearch__1693
spring-projects/spring-data-elasticsearch
1,693
defect
154c50b3b79c72c0c3a1f30d173795a2456e722a
3fbc0c70ae3af3e1d3c8b6419486214f192a6aff
Add function to list all indexes
<!-- Thank you for proposing a pull request. This template will guide you through the essential steps necessary for a pull request. Make sure that: --> - [ x] You have read the [Spring Data contribution guidelines](https://github.com/spring-projects/spring-data-build/blob/master/CONTRIBUTING.adoc). - [ ] The...
diff --git a/src/main/java/org/springframework/data/elasticsearch/client/reactive/DefaultReactiveElasticsearchClient.java b/src/main/java/org/springframework/data/elasticsearch/client/reactive/DefaultReactiveElasticsearchClient.java index a89100e890..28af2500bf 100644 --- a/src/main/java/org/springframework/data/elasti...
10
10
7
[{"id": "G0", "claim": "IndexInformation should not expose Elasticsearch classes as properties; settings and mappings should use a Document and the aliases should use the Spring Data alias data instead.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The ...
null
spring-projects__spring-data-elasticsearch__1708
spring-projects/spring-data-elasticsearch
1,708
defect
1c549b739bc28d173ca38b9feb946069109f6219
8484b00b898ee41484ac74e3c04fd61f13db5de7
Adds support for dense_vector type
Hi all. We need to support a `dense_vector` field for our elastic search implementation. I saw you have an open ticket to support this here #1700. I only included `dense_vector` since `sparse_vector` is deprecated and both `rank_feature` and `rank_features` appear to already be supported. Closes #1700 - [x] You h...
diff --git a/src/main/java/org/springframework/data/elasticsearch/annotations/Field.java b/src/main/java/org/springframework/data/elasticsearch/annotations/Field.java index 1c4147db91..4f0d5aaa93 100644 --- a/src/main/java/org/springframework/data/elasticsearch/annotations/Field.java +++ b/src/main/java/org/springframe...
2
2
1
[{"id": "G0", "claim": "In both MappingParameters constructors the assertion message should read \"must not exceed 2048\" instead of \"should not exceed 2048\".", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Since `dims` is a required parameter fo...
null
spring-projects__spring-data-elasticsearch__1722
spring-projects/spring-data-elasticsearch
1,722
defect
e4c7b968e1e07a0c517e35c037cff2e79f7b0f7f
7cf90ae425ccd220ded244c7401fe642fbfc72d4
Add matched_queries field to SearchHit.
Closes #1514 <!-- Thank you for proposing a pull request. This template will guide you through the essential steps necessary for a pull request. Make sure that: --> - [x] You have read the [Spring Data contribution guidelines](https://github.com/spring-projects/spring-data-build/blob/master/CONTRIBUTING.ad...
diff --git a/src/main/java/org/springframework/data/elasticsearch/core/SearchHit.java b/src/main/java/org/springframework/data/elasticsearch/core/SearchHit.java index 327066b47f..4eebdcd2a7 100644 --- a/src/main/java/org/springframework/data/elasticsearch/core/SearchHit.java +++ b/src/main/java/org/springframework/data...
2
2
2
[{"id": "G0", "claim": "The test uses Java 9's List.of() although the Spring Data baseline is Java 8, so it should use Arrays.asList().", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "DocumentAdapters.from(String[]) uses Java 9's List.of() although t...
null
spring-projects__spring-data-elasticsearch__1872
spring-projects/spring-data-elasticsearch
1,872
defect
039e59d3c2ea2408f91e7260321a50672cb56775
53c24e130424c66c6e5bd0413e64217ec0fe4553
Move dynamic mapping parameter configuration to @Document and @Field
<!-- Thank you for proposing a pull request. This template will guide you through the essential steps necessary for a pull request. When contributing, please make sure an issue exists in issue tracker and comment on this issue with how you want to address it. By this we not only know that someone is working on an...
diff --git a/src/main/java/org/springframework/data/elasticsearch/annotations/Document.java b/src/main/java/org/springframework/data/elasticsearch/annotations/Document.java index c1a7b8ff15..4378f0bdf7 100644 --- a/src/main/java/org/springframework/data/elasticsearch/annotations/Document.java +++ b/src/main/java/org/sp...
5
5
2
[{"id": "G0", "claim": "The @deprecated javadoc on the DynamicMapping and DynamicMappingValue annotations should state the version in which they were deprecated (\"since 4.3\"), as suggested.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new ...
null
spring-projects__spring-data-elasticsearch__1998
spring-projects/spring-data-elasticsearch
1,998
defect
45b4c99e951e4519c3fe1e2d4a51c8bd16ab33b0
ab190a57d992b41e56a7b84df9554449f2b9e5bd
Fix IndexOutOfBoundsException when try to map inner hits with no results returned
Fixes #1997 <!-- Thank you for proposing a pull request. This template will guide you through the essential steps necessary for a pull request. When contributing, please make sure an issue exists in issue tracker and comment on this issue with how you want to address it. By this we not only know that someone ...
diff --git a/src/main/java/org/springframework/data/elasticsearch/core/SearchHitMapping.java b/src/main/java/org/springframework/data/elasticsearch/core/SearchHitMapping.java index 8f01618e21..ef5749a1fc 100644 --- a/src/main/java/org/springframework/data/elasticsearch/core/SearchHitMapping.java +++ b/src/main/java/org...
3
2
1
[{"id": "G0", "claim": "A test case should be added showing the error with the old code (a search with inner_hits size zero that produces the exception), as sothawo requested when questioning the guard change.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim...
null
spring-projects__spring-data-elasticsearch__221
spring-projects/spring-data-elasticsearch
221
defect
2dd025d43b836217e899b655d46d0c3cc46d4754
9d4402ec130d215553bb8409c6deb878514ab0ea
DATAES-456+387 - re-enable dynamic index name evaluation.
fix for https://jira.spring.io/browse/DATAES-456 and https://jira.spring.io/browse/DATAES-387 <!-- Thank you for proposing a pull request. This template will guide you through the essential steps necessary for a pull request. Make sure that: --> - [x] You have read the [Spring Data contribution guidelin...
diff --git a/src/main/java/org/springframework/data/elasticsearch/repository/support/MappingElasticsearchEntityInformation.java b/src/main/java/org/springframework/data/elasticsearch/repository/support/MappingElasticsearchEntityInformation.java index b1e82b08be..7cd5b58623 100644 --- a/src/main/java/org/springframework...
4
2
1
[{"id": "G0", "claim": "Because `indexName` and `type` may now be null and later resolved through `entityMetadata`, the constructor should add a check that `entity` is not null.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Add the PR author as `@a...
null
spring-projects__spring-data-elasticsearch__2264
spring-projects/spring-data-elasticsearch
2,264
defect
33c9180ccd143600159e94307746cc9b6c532bd7
1cc430071939418f1e22128ecdd37e90ad7c4ccc
[elc] add support for sorting results by SortOptions to NativeQuery
<!-- Thank you for proposing a pull request. This template will guide you through the essential steps necessary for a pull request. When contributing, please make sure an issue exists in issue tracker and comment on this issue with how you want to address it. By this we not only know that someone is working on an...
diff --git a/src/main/java/org/springframework/data/elasticsearch/client/elc/NativeQuery.java b/src/main/java/org/springframework/data/elasticsearch/client/elc/NativeQuery.java index c690d6d422..fb77f28fb2 100644 --- a/src/main/java/org/springframework/data/elasticsearch/client/elc/NativeQuery.java +++ b/src/main/java/...
3
3
2
[{"id": "G0", "claim": "The new builder methods accepting SortOptions should be named withSortOptions() instead of withSort().", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "withSort(SortOptions value, SortOptions... values) should assert that v...
null
spring-projects__spring-data-elasticsearch__2268
spring-projects/spring-data-elasticsearch
2,268
defect
33c9180ccd143600159e94307746cc9b6c532bd7
a8e8343a3c8bc8880d699009c473a514b38d146b
support RuntimeField with no script
<!-- Thank you for proposing a pull request. This template will guide you through the essential steps necessary for a pull request. When contributing, please make sure an issue exists in issue tracker and comment on this issue with how you want to address it. By this we not only know that someone is working on an...
diff --git a/src/main/java/org/springframework/data/elasticsearch/client/elc/RequestConverter.java b/src/main/java/org/springframework/data/elasticsearch/client/elc/RequestConverter.java index b40516bc5a..c105a0a995 100644 --- a/src/main/java/org/springframework/data/elasticsearch/client/elc/RequestConverter.java +++ b...
4
4
0
[{"id": "G0", "claim": "Use AssertJ static assertions instead of JUnit's assertEquals/assertFalse in the new RuntimeFieldTest.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Rewrite testMapping in the reviewer's style: add @DisplayName('should r...
null
spring-projects__spring-data-elasticsearch__2407
spring-projects/spring-data-elasticsearch
2,407
defect
2fb90621a2adfe0ede5bf5c374526c2d5007bac4
0522c36f450d089beccc9fb48f5e08bdc29fde17
fix bug: IndexQuery's id get ignored in bulkIndexOperation
<!-- Thank you for proposing a pull request. This template will guide you through the essential steps necessary for a pull request. When contributing, please make sure an issue exists in issue tracker and comment on this issue with how you want to address it. By this we not only know that someone is working on an...
diff --git a/src/main/java/org/springframework/data/elasticsearch/client/elc/RequestConverter.java b/src/main/java/org/springframework/data/elasticsearch/client/elc/RequestConverter.java index dc33b4c790..95f294c182 100644 --- a/src/main/java/org/springframework/data/elasticsearch/client/elc/RequestConverter.java +++ b...
1
1
1
[{"id": "G0", "claim": "Add tests to the org.springframework.data.elasticsearch.core.ElasticsearchIntegrationTests class that verify the fixed behaviour (and prove the wrong behaviour before the change).", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
spring-projects__spring-data-elasticsearch__2793
spring-projects/spring-data-elasticsearch
2,793
defect
72e8f41de5c079ff05474776c7fc342ad324ecfe
e4f9f3fdf645d0fc773877ab2b44eeb97c63c9d9
support highlight_query
<!-- Thank you for proposing a pull request. This template will guide you through the essential steps necessary for a pull request. When contributing, please make sure an issue exists in issue tracker and comment on this issue with how you want to address it. By this we not only know that someone is working on an...
diff --git a/src/main/antora/modules/ROOT/pages/migration-guides/migration-guide-4.4-5.0.adoc b/src/main/antora/modules/ROOT/pages/migration-guides/migration-guide-4.4-5.0.adoc index eb627f141a..e11955fefa 100644 --- a/src/main/antora/modules/ROOT/pages/migration-guides/migration-guide-4.4-5.0.adoc +++ b/src/main/antor...
1
1
1
[{"id": "G0", "claim": "The pull request must not use classes from the Elasticsearch client library (co.elastic.clients...) in HighlightCommonParameters outside the org.springframework.data.elasticsearch.client.elc package, because other client implementations and dependent projects cannot be forced onto the Elasticsea...
null
spring-projects__spring-data-elasticsearch__2806
spring-projects/spring-data-elasticsearch
2,806
defect
21a1fbca0fb58ef19605fc8b1ee84dd5d4d0f7a5
b539c7b833a06070dbec7f9971f1dfa73327ccef
Expose search shard statistics in search hits
<!-- Thank you for proposing a pull request. This template will guide you through the essential steps necessary for a pull request. When contributing, please make sure an issue exists in issue tracker and comment on this issue with how you want to address it. By this we not only know that someone is working on an...
diff --git a/src/main/java/org/springframework/data/elasticsearch/client/elc/DocumentAdapters.java b/src/main/java/org/springframework/data/elasticsearch/client/elc/DocumentAdapters.java index fbd3b622ad..151d090eae 100644 --- a/src/main/java/org/springframework/data/elasticsearch/client/elc/DocumentAdapters.java +++ b...
6
6
2
[{"id": "G0", "claim": "The copyright header of the new SearchShardStatistics class should read 'Copyright 2023 the original author or authors.' instead of 'Copyright 2013-2023 the original author or authors.'.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1",...
null
spring-projects__spring-data-elasticsearch__2807
spring-projects/spring-data-elasticsearch
2,807
defect
02bd3e60f854360de90e867bb87baef874546edf
160382c7ea1651f14e9d7b00c22b5778b4dfa240
Support multi search template API
<!-- Thank you for proposing a pull request. This template will guide you through the essential steps necessary for a pull request. When contributing, please make sure an issue exists in issue tracker and comment on this issue with how you want to address it. By this we not only know that someone is working on an...
diff --git a/src/main/java/org/springframework/data/elasticsearch/client/elc/ElasticsearchTemplate.java b/src/main/java/org/springframework/data/elasticsearch/client/elc/ElasticsearchTemplate.java index 89f346e7c5..31c4686e25 100644 --- a/src/main/java/org/springframework/data/elasticsearch/client/elc/ElasticsearchTemp...
4
4
0
[{"id": "G0", "claim": "The PR should keep the IndexNameProvider-based index names and clean up the indexes once at the end of the tests via the restored cleanup() method instead of deleting the indexes after each test in an @AfterEach tearDown, because deleting indexes after each test is slow.", "category": "testing",...
null
spring-projects__spring-data-elasticsearch__2834
spring-projects/spring-data-elasticsearch
2,834
defect
957fe0531f5be7b9801e3e9c9dc89655a1c59ec3
dfd00aa3e5b69048a48471225ef4f69c4ce896ff
Unify conversion services for value replacement when querying elastic…
…search <!-- Thank you for proposing a pull request. This template will guide you through the essential steps necessary for a pull request. When contributing, please make sure an issue exists in issue tracker and comment on this issue with how you want to address it. By this we not only know that someone is wo...
diff --git a/src/main/java/org/springframework/data/elasticsearch/repository/query/ElasticsearchStringQuery.java b/src/main/java/org/springframework/data/elasticsearch/repository/query/ElasticsearchStringQuery.java index 8a0ae64d78..16d76dea1e 100644 --- a/src/main/java/org/springframework/data/elasticsearch/repository...
3
2
1
[{"id": "G0", "claim": "The Javadoc paragraph \"This is a better solution for converting query values in elasticsearch query, because it has all the capability the delegated conversion service has...\" is not needed and should be dropped from the class comment.", "category": "documentation", "verdict": "uncertain", "pr...
null
spring-projects__spring-data-elasticsearch__2875
spring-projects/spring-data-elasticsearch
2,875
defect
aa27bbec27c2cee6793039923d2a8b282529f606
ab6e360ab3e1bfdf4f0c71854612da44f8528057
Support Delete by query with es parameters.
<!-- Thank you for proposing a pull request. This template will guide you through the essential steps necessary for a pull request. When contributing, please make sure an issue exists in issue tracker and comment on this issue with how you want to address it. By this we not only know that someone is working on an...
diff --git a/src/main/java/org/springframework/data/elasticsearch/client/elc/ElasticsearchTemplate.java b/src/main/java/org/springframework/data/elasticsearch/client/elc/ElasticsearchTemplate.java index e535f857f9..20ddf2a0db 100644 --- a/src/main/java/org/springframework/data/elasticsearch/client/elc/ElasticsearchTemp...
6
6
3
[{"id": "G0", "claim": "The new file's copyright header should read \"Copyright 2024 the original author or authors.\" instead of \"Copyright 2013-2024\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "DeleteQuery should not derive from BaseQuery ...
null
spring-projects__spring-data-elasticsearch__2889
spring-projects/spring-data-elasticsearch
2,889
defect
0beca99912ae37434d84840061849b5cb77efa02
447cb56eb658ac53d208138cc1420ca3945c375a
Support has_child and has_parent queries.
<!-- Thank you for proposing a pull request. This template will guide you through the essential steps necessary for a pull request. When contributing, please make sure an issue exists in issue tracker and comment on this issue with how you want to address it. By this we not only know that someone is working on an...
diff --git a/src/main/java/org/springframework/data/elasticsearch/client/elc/CriteriaQueryProcessor.java b/src/main/java/org/springframework/data/elasticsearch/client/elc/CriteriaQueryProcessor.java index 080920959e..28f1bfebe9 100644 --- a/src/main/java/org/springframework/data/elasticsearch/client/elc/CriteriaQueryPr...
2
2
0
[{"id": "G0", "claim": "The NativeQuery import should not be added to the abstract base test class ElasticsearchIntegrationTests; if something needs it to build a query, it belongs in the deriving class ElasticsearchELCIntegrationTests.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introdu...
null
spring-projects__spring-data-elasticsearch__290
spring-projects/spring-data-elasticsearch
290
defect
9a6172b4fe2b3dd89119ac9e0c186911252bf99c
416dd9db9cde235764ec42cb222f9074c70ac649
DATAES-593 - Add support for collapse field on SearchRequest.
Support for use collapse field function in the Query Apis - [x] You have read the [Spring Data contribution guidelines](https://github.com/spring-projects/spring-data-build/blob/master/CONTRIBUTING.adoc). - [x] There is a ticket in the bug tracker for the project in our [JIRA](https://jira.spring.io/browse/DATAES)....
diff --git a/src/main/java/org/springframework/data/elasticsearch/core/ElasticsearchRestTemplate.java b/src/main/java/org/springframework/data/elasticsearch/core/ElasticsearchRestTemplate.java index 0804cb5d46..b257c8aaab 100644 --- a/src/main/java/org/springframework/data/elasticsearch/core/ElasticsearchRestTemplate.j...
3
3
1
[{"id": "G0", "claim": "The new test's @Test annotation cites the wrong issue (DATAES-393) and should cite DATAES-593.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The newly added collapse accessors should be named to reflect the CollapseBuilder...
null
spring-projects__spring-data-elasticsearch__2905
spring-projects/spring-data-elasticsearch
2,905
defect
1d89054d121f491f0687a8280535c1820508d9a6
9c5e9e77439ed59891776a50d851790d578f78c1
Add support for index aliases.
<!-- Thank you for proposing a pull request. This template will guide you through the essential steps necessary for a pull request. When contributing, please make sure an issue exists in issue tracker and comment on this issue with how you want to address it. By this we not only know that someone is working on an...
diff --git a/src/main/java/org/springframework/data/elasticsearch/annotations/Alias.java b/src/main/java/org/springframework/data/elasticsearch/annotations/Alias.java new file mode 100644 index 0000000000..7d15fb18b3 --- /dev/null +++ b/src/main/java/org/springframework/data/elasticsearch/annotations/Alias.java @@ -0,0...
4
4
2
[{"id": "G0", "claim": "Add an `alias()` attribute on the @Alias annotation as an @AliasFor mirror of `value()` (and vice versa), so the user can choose between `value=\"\"` and `alias=\"\"` while keeping the Elasticsearch naming.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"},...
null
spring-projects__spring-data-elasticsearch__2920
spring-projects/spring-data-elasticsearch
2,920
defect
86e0e660be0c183ab8f37946f34e30025435143c
5bd6ec3520ea60fb416b9692aa3ea4fc4a0c52a1
Add knn search parameter and remove knn query
<!-- Thank you for proposing a pull request. This template will guide you through the essential steps necessary for a pull request. When contributing, please make sure an issue exists in issue tracker and comment on this issue with how you want to address it. By this we not only know that someone is working on an...
diff --git a/src/main/java/org/springframework/data/elasticsearch/annotations/Field.java b/src/main/java/org/springframework/data/elasticsearch/annotations/Field.java index dd299a4930..e5ea06d7e9 100644 --- a/src/main/java/org/springframework/data/elasticsearch/annotations/Field.java +++ b/src/main/java/org/springframe...
2
2
2
[{"id": "G0", "claim": "Change the @since values of the newly added knn APIs from '@since 5.3.1' to '@since 5.4', because the breaking change can only ship on the main/5.4 branch (5.3.x must remain upgradable to Elasticsearch 8.13 security fixes).", "category": "documentation", "verdict": "supported", "priority": "P1",...
null
spring-projects__spring-data-elasticsearch__2950
spring-projects/spring-data-elasticsearch
2,950
defect
8f8600727c110dff6413dd1b99071623db2b50bd
be9a6029e40a25d34e53cd289ef2bf113ab0cf73
Allow to customize the mapped type name for @InnerField and @Field annotations
<!-- Thank you for proposing a pull request. This template will guide you through the essential steps necessary for a pull request. When contributing, please make sure an issue exists in issue tracker and comment on this issue with how you want to address it. By this we not only know that someone is working on ...
diff --git a/src/main/java/org/springframework/data/elasticsearch/annotations/Field.java b/src/main/java/org/springframework/data/elasticsearch/annotations/Field.java index 63f74716b8..09423144c5 100644 --- a/src/main/java/org/springframework/data/elasticsearch/annotations/Field.java +++ b/src/main/java/org/springframe...
4
3
1
[{"id": "G0", "claim": "EntityWithAllTypes was not used in tests at all (not strictly related to the PR), and the author is fixing that.", "category": "testing", "verdict": "uncertain", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "The javadoc of the new mappedName attribute should be reworded to '...
null
spring-projects__spring-data-elasticsearch__298
spring-projects/spring-data-elasticsearch
298
defect
e23f6f1d3321550ccac7c2a892ce2fc55eb13e63
8a9bb9a59c3810dce85928eab82d3f82614cd119
DATES-615 - Use annotated field name on repository order by clause.
This fixes that in repository queries the name defined in a `@Field(name="foo")` annotation was not considered in an order by clause. * `ElasticsearchPartQuery` and `ElasticsearchQueryCreator` changes are handling a query with no criteria like _findAllByOrderByName()_ which up to now causes a NPE * relevant impleme...
diff --git a/src/main/java/org/springframework/data/elasticsearch/core/ElasticsearchRestTemplate.java b/src/main/java/org/springframework/data/elasticsearch/core/ElasticsearchRestTemplate.java index aa981eda32..c553cac1cc 100644 --- a/src/main/java/org/springframework/data/elasticsearch/core/ElasticsearchRestTemplate.j...
8
7
1
[{"id": "G0", "claim": "Mapping of Sort objects should be extracted into a reusable QueryMapper for consistent reuse, suggested as a fit for the next release train rather than done inline in prepareSort.", "category": "design", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The...
null
spring-projects__spring-data-elasticsearch__2985
spring-projects/spring-data-elasticsearch
2,985
defect
98716a871b578ebb82b4428a2d8be29b9c4fd898
86c537abee9c5118cdc69b1bf33ef03942128df0
Add count methods to ELC's ReactiveElasticsearchClient.
Please let me know if i've missed anything as this is my first time contributing to an open source project. - Implemented count methods using CountRequest directly with ELC's ReactiveElasticsearchClient, eliminating the need to initialize any entity or repository. <!-- Thank you for proposing a pull request. ...
diff --git a/src/main/java/org/springframework/data/elasticsearch/client/elc/ReactiveElasticsearchClient.java b/src/main/java/org/springframework/data/elasticsearch/client/elc/ReactiveElasticsearchClient.java index 50bc8036f8..958b1f59f9 100644 --- a/src/main/java/org/springframework/data/elasticsearch/client/elc/React...
3
3
2
[{"id": "G0", "claim": "RequestConverter.countRequest only sets query and index on the CountRequest builder, but other parameters of CountRequest (routing for example) might need to be set here, and the author should study how prepareSearchRequest sets that information.", "category": "design", "verdict": "supported", "...
null
spring-projects__spring-data-elasticsearch__2991
spring-projects/spring-data-elasticsearch
2,991
defect
172933af8e9348d957c4953f9df6b852d4c1c12f
77ec78c7429343176fe5092fef0b1031f8c8a887
Add support for retrieving request executionDuration.
Please let me know if I missed anything. <!-- Thank you for proposing a pull request. This template will guide you through the essential steps necessary for a pull request. When contributing, please make sure an issue exists in issue tracker and comment on this issue with how you want to address it. By this we...
diff --git a/pom.xml b/pom.xml index 210333c13c..6173bd9cbe 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ <groupId>org.springframework.data</groupId> <artifactId>spring-data-elasticsearch</artifactId> - <version>5.4.0-SNAPSHOT</version> + <version>5.4.0-2986-SNAPSHOT</version> <parent> <groupId>org.sp...
2
2
1
[{"id": "G0", "claim": "The pull request must not change the version in pom.xml; restore the original version.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Add \"#2986\" to the test comment on line 1861 (`@Test // DATAES-462`).", "category": "docu...
null
spring-projects__spring-data-elasticsearch__320
spring-projects/spring-data-elasticsearch
320
defect
389a5bc5e75b33b8522f436d3cc5fb7f257e7b12
17420ab843c436ff29f6c18627cd6ece7875d3f2
DATAES-650 Add support for pathPrefix to configuration classes
Add support for pathPrefix to configuration classes. - [X] You have read the [Spring Data contribution guidelines](https://github.com/spring-projects/spring-data-build/blob/master/CONTRIBUTING.adoc). - [X] There is a ticket in the bug tracker for the project in our [JIRA](https://jira.spring.io/browse/DATAES). - [...
diff --git a/README.adoc b/README.adoc index ee9aa11cfc..4b6de664ff 100644 --- a/README.adoc +++ b/README.adoc @@ -118,16 +118,7 @@ Add the Maven dependency: // Always change both files! **Compatibility Matrix** -[cols="^,^,"] -|=== -|Spring Data Elasticsearch | Elasticsearch | -| _3.2.x_ |_6.8.1_ | _not yet releas...
4
4
1
[{"id": "G0", "claim": "The javadoc of the new getPathPrefix method should not reference org.elasticsearch.client.RestClientBuilder#setPathPrefix, because ClientConfiguration is also used for the reactive client, where the RestClientBuilder is not used or relevant.", "category": "design", "verdict": "supported", "prior...
null
spring-projects__spring-data-elasticsearch__322
spring-projects/spring-data-elasticsearch
322
defect
642d95b5d17f3a8dc11e8de5c9e6cbf97af5ab17
45ef82f76802185dadc0d805ecb80959ec96dae8
DATAES-652 - Send if_seq_no and if_primary_term parameters when index…
Current RequestConveters.index() does not respect ifSeqNo and ifPrimaryTerm (it just ignores them). <!-- Thank you for proposing a pull request. This template will guide you through the essential steps necessary for a pull request. Make sure that: --> - [x] You have read the [Spring Data contribution guide...
diff --git a/src/main/java/org/springframework/data/elasticsearch/client/util/RequestConverters.java b/src/main/java/org/springframework/data/elasticsearch/client/util/RequestConverters.java index 3c74acb414..dfacac900b 100644 --- a/src/main/java/org/springframework/data/elasticsearch/client/util/RequestConverters.java...
3
3
1
[{"id": "G0", "claim": "The first test method should be renamed from ...WhenConvertingIndex to ...WhenConvertingIndexRequest so the name says it converts an IndexRequest.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The second test method shou...
null
spring-projects__spring-data-elasticsearch__324
spring-projects/spring-data-elasticsearch
324
defect
327e0a207ceb3ed004612cc960ba61e79276d9cb
edad2dd347f1adc0a41ea2c16c71269efd64eeab
DATAES-541 - Removing an alias with ElasticseachRestTemplate does not work properly.
This fixes DATAES-541 and moves the alias tests from `AliasTests` to `ElasticsearchTemplateTests` so that they are taken into account by the `ElasticsearchRestTemplateTests`. This brought another problem to light because `ElasticsearchRestTemplate#convertAliasResponse` throws a `NoSuchElementException` when the alias r...
diff --git a/src/main/java/org/springframework/data/elasticsearch/core/ElasticsearchRestTemplate.java b/src/main/java/org/springframework/data/elasticsearch/core/ElasticsearchRestTemplate.java index 99c89187b7..a88d78ed5c 100644 --- a/src/main/java/org/springframework/data/elasticsearch/core/ElasticsearchRestTemplate.j...
1
1
0
[{"id": "G0", "claim": "Wrap the `return` statement inside the `if (node == null)` guard in braces.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}]
null
spring-projects__spring-data-elasticsearch__414
spring-projects/spring-data-elasticsearch
414
defect
2ec61ab4fff94383fe707759de9f04ad3e188545
df74883eaa110e203e481df7267d0bbfd4919617
DATAES-771 - Add after-save entity callbacks support.
This change enables to get callbacks when an entity gets saved to Elasticsearch. Comparing to AfterSaveCallback in spring-data-mongodb (that was used for inspiration), AfterSaveCallback added in this PR has a simpler method signature: it does not have neither `document` (because Elasticsearch does not return an inde...
diff --git a/src/main/java/org/springframework/data/elasticsearch/core/AbstractElasticsearchTemplate.java b/src/main/java/org/springframework/data/elasticsearch/core/AbstractElasticsearchTemplate.java index b88caee937..844190f085 100644 --- a/src/main/java/org/springframework/data/elasticsearch/core/AbstractElasticsear...
2
1
0
[{"id": "G0", "claim": "The template should assert that the value returned from an after-save callback is not null, because a badly implemented callback might return null.", "category": "correctness", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new imperative test suites s...
null
spring-projects__spring-data-elasticsearch__415
spring-projects/spring-data-elasticsearch
415
defect
abf886e8777dce84d58cf3b265d9fb7f834de515
15d0fe56b201dac8893dd09826aebb65c5fb8f30
DATAES-773 - Add search-as-you-type field support
This PR adds search-as-you-type field support - [x] You have read the [Spring Data contribution guidelines](https://github.com/spring-projects/spring-data-build/blob/master/CONTRIBUTING.adoc). - [x] There is a ticket in the bug tracker for the project in our [JIRA](https://jira.spring.io/browse/DATAES). - [x] You ...
diff --git a/src/main/java/org/springframework/data/elasticsearch/annotations/SearchAsYouTypeField.java b/src/main/java/org/springframework/data/elasticsearch/annotations/SearchAsYouTypeField.java new file mode 100644 index 0000000000..ebd0595aa7 --- /dev/null +++ b/src/main/java/org/springframework/data/elasticsearch/...
1
1
1
[{"id": "G0", "claim": "The new SearchAsYouTypeField annotation duplicates the existing @Field annotation and forces duplicated handling in MappingBuilder, so changes for text-field properties must be made in both places; it should instead be implemented as a Search_As_You_Type FieldType value with a maxShingleSize pro...
null
spring-projects__spring-data-elasticsearch__427
spring-projects/spring-data-elasticsearch
427
defect
771d8fb5e76a4e6c4f050d9505a8ba9e3c40cf52
8b68cda7f31295eb32319796e92fbd1e62da96fc
DATAES-786 - Move the creation of SearchHit(s) from ElasticsearchConv…
…erter closer to ElasticsearchTemplate. The idea is to facilitate entity callbacks invocation (see DATAES-772). The corresponding code is moved from ElasticsearchConverter closer to ElasticsearchTemplate implementations. It is basically separated into two parts: the 'entity reading' part (that materializes entities...
diff --git a/src/main/java/org/springframework/data/elasticsearch/core/AbstractElasticsearchTemplate.java b/src/main/java/org/springframework/data/elasticsearch/core/AbstractElasticsearchTemplate.java index acc20ed637..b12c021f46 100644 --- a/src/main/java/org/springframework/data/elasticsearch/core/AbstractElasticsear...
5
3
0
[{"id": "G0", "claim": "The naming of SearchHitMapping and its mapXXX methods may not be the best, and sothawo suggested renaming the classes to Search(Scroll)Hit(s)Adapter; the author asked which classes to rename and how, and the question was left open.", "category": "design", "verdict": "uncertain", "priority": "P3"...
null
spring-projects__spring-data-elasticsearch__506
spring-projects/spring-data-elasticsearch
506
defect
c8c6e7a6463fabe7d034f3f5c129c9c4dcad957e
3fe264d64f0a63b6864963322c17af3b9fb886d7
DATAES-908 - Fill version on an indexed entity.
Elasticsearch returns version of a document after it has been indexed, so we can (and probably should) fill it on the entity, like we do it for SeqNoPrimaryTerm (this behavior was added in DATAES-876). Also, SeqNoPrimaryTerm was not filled in a couple of places on indexing. This still has some issues. 1. 2 tes...
diff --git a/src/main/java/org/springframework/data/elasticsearch/core/AbstractElasticsearchTemplate.java b/src/main/java/org/springframework/data/elasticsearch/core/AbstractElasticsearchTemplate.java index 4a891ace32..f9c45fd81b 100644 --- a/src/main/java/org/springframework/data/elasticsearch/core/AbstractElasticsear...
2
2
2
[{"id": "G0", "claim": "In updateIndexedObjectsWithQueries the loop should use `i` instead of always `0` when reading queries.get, so each query maps to its own indexed object information.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "getVersion (a...
null
spring-projects__spring-data-examples__628
spring-projects/spring-data-examples
628
defect
58593632a75e3357148c3565d897446c520a3fe4
f5d4f5339738f5ecdeb2bb5a74fb9af623e99285
Add examples for various way to generate IDs for Spring Data JDBC.
This contains the example code for an upcoming blog article.
diff --git a/jdbc/howto/README.adoc b/jdbc/howto/README.adoc new file mode 100644 index 000000000..d7afa08b2 --- /dev/null +++ b/jdbc/howto/README.adoc @@ -0,0 +1,5 @@ +== Spring Data JDBC How Tos + +=== ID Generation + +Demonstrates the various ways how the user might control generation of IDs when the default of data...
1
1
0
[{"id": "G0", "claim": "The `<module>howto</module>` entry should be placed so the module list in jdbc/pom.xml stays alphabetically ordered, and the existing `mybatis` entry should also be fixed order-wise.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
spring-projects__spring-data-neo4j__131
spring-projects/spring-data-neo4j
131
defect
4f7759270ffe680503ea65b74633f23a938bd7ba
c25a2cf43da817285048a25f02a73648c1dcfd9d
DATAGRAPH-298: GraphRepository with abstract type parameter should throw...
... more meaningful exception when stored Java type is not a subtype
diff --git a/spring-data-neo4j/src/main/java/org/springframework/data/neo4j/support/Neo4jExceptionTranslator.java b/spring-data-neo4j/src/main/java/org/springframework/data/neo4j/support/Neo4jExceptionTranslator.java index 5735643084..194cbdff89 100644 --- a/spring-data-neo4j/src/main/java/org/springframework/data/neo4...
3
3
1
[{"id": "G0", "claim": "Perhaps also add a check for an interface in AbstractConstructorEntityInstantiator, in addition to the abstract-class check.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The invalid-instantiation information should be cached, ot...
null
spring-projects__spring-data-neo4j__2427
spring-projects/spring-data-neo4j
2,427
defect
d81cd5a15c836cb56113faa5eeab0a75eabf9bab
fbf2c7832ad1db25a1d1fddfe7e549ebe32ea034
Allow specifying the impersonated database user via the clients.
Closes #2426
diff --git a/src/main/java/org/springframework/data/neo4j/core/DefaultNeo4jClient.java b/src/main/java/org/springframework/data/neo4j/core/DefaultNeo4jClient.java index 8796a41bf5..a665d089e6 100644 --- a/src/main/java/org/springframework/data/neo4j/core/DefaultNeo4jClient.java +++ b/src/main/java/org/springframework/d...
2
1
0
[{"id": "G0", "claim": "The new UnboundRunnableSpec Javadoc states that the empty string is not permitted, but that restriction is only checked in the implementation, and the same applies to the asUser branch and the imperative client.", "category": "design", "verdict": "uncertain", "priority": "P2", "scope": "introduc...
null
spring-projects__spring-data-neo4j__365
spring-projects/spring-data-neo4j
365
defect
0711883cf50f536157ab64d00ffdb1bd140b61f6
6e264702e8348251143f1d778c0b268a8faaa6ff
DATAGRAPH-561 - Support for findByPropertyNear.
Thank you for proposing a pull request. This template will guide you through the essential steps necessary for a pull request. Make sure that: - [x] You have read the [Spring Data contribution guidelines](https://github.com/spring-projects/spring-data-build/blob/master/CONTRIBUTING.adoc). - [x] There is a ticket in the...
diff --git a/spring-data-neo4j/pom.xml b/spring-data-neo4j/pom.xml index 9535fd633d..431ab851a9 100644 --- a/spring-data-neo4j/pom.xml +++ b/spring-data-neo4j/pom.xml @@ -26,7 +26,7 @@ <properties> <neo4j.version>2.3.7</neo4j.version> - <neo4j.ogm.version>2.0.6-SNAPSHOT</neo4j.ogm.version> + ...
5
3
2
[{"id": "G0", "claim": "The new extractDistanceArgs helper may need defensive programming, such as null checks.", "category": "correctness", "verdict": "opposed", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "RestaurantIT should mark the multi-step repository interactions (repo.save then repo.find) i...
null
spring-projects__spring-data-relational__1481
spring-projects/spring-data-relational
1,481
defect
c1ada2c3bd8882e098326403279566768e543d19
9a7bb2bed981097270b1e5f24ddfb0a612b48ce9
Initial Data Model for Schema SQL Generation
Initial data model for Schema SQL Generation. If we want to have a feature branch (instead of main) that these changes get merged into, I am definitely good with that approach. Please let me know. <!-- Thank you for proposing a pull request. This template will guide you through the essential steps nec...
diff --git a/pom.xml b/pom.xml index ec73fb59c9..2c77685644 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ <groupId>org.springframework.data</groupId> <artifactId>spring-data-relational-parent</artifactId> - <version>3.1.0-SNAPSHOT</version> + <version>3.1.0-1478-SNAPSHOT</version> <packaging>pom</packaging...
7
6
4
[{"id": "G0", "claim": "The mapping context should not create a SchemaSQLGenerationDataModel; a mapping context should be used to create such a model in a class constructor or a factory instead.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Column and t...
null
spring-projects__spring-framework__27735
spring-projects/spring-framework
27,735
defect
2f32806bcb6cefa6479074d5fb66cb68043cedc9
ff503c7f74eb26d0ee7383ca53856ec03467d10d
DataAccessUtils result accessors with Optional return value
Closes #27728 (https://github.com/spring-projects/spring-framework/issues/27728) Hi everyone, this is my first PR in any project here on github with the goal of improving my understanding of java. Hope i understood the enhancement request correctly.
diff --git a/spring-tx/src/main/java/org/springframework/dao/support/DataAccessUtils.java b/spring-tx/src/main/java/org/springframework/dao/support/DataAccessUtils.java index adb80a3afb7a..a5156386b9d3 100644 --- a/spring-tx/src/main/java/org/springframework/dao/support/DataAccessUtils.java +++ b/spring-tx/src/main/jav...
5
5
1
[{"id": "G0", "claim": "The star form of import (java.util.*) in DataAccessUtilsTests should be avoided in favour of individual imports.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "singleResult(Stream) would be better implemented with results...
null
spring-projects__spring-framework__29557
spring-projects/spring-framework
29,557
defect
ed5ab77397e773cfce3b17d00ceb8e84b0581aab
19d5c7f44a58c414614ecbae38728aaca02e159f
Restrict forwards in MockMvcWebConnection to 100
When a filter is configured to conditionally forward, and it is configured to handle FORWARD dispatches as well, and it prevents infinite forward loops by either extending OncePerRequestFilter or otherwise using request attributes, this can result in infinite forward loops in WebClient tests using MockMvcWebConnection....
diff --git a/spring-test/src/main/java/org/springframework/test/web/servlet/htmlunit/MockMvcWebConnection.java b/spring-test/src/main/java/org/springframework/test/web/servlet/htmlunit/MockMvcWebConnection.java index 826d91a3db98..0a10c1b5d613 100644 --- a/spring-test/src/main/java/org/springframework/test/web/servlet/...
1
1
1
[{"id": "G0", "claim": "When the forward limit is reached, MockMvcWebConnection should throw an exception (as proposed in the original issue) whose message mentions the probable infinite loop and that it forwarded 100 times, rather than silently falling back.", "category": "design", "verdict": "supported", "priority": ...
null
spring-projects__spring-framework__32469
spring-projects/spring-framework
32,469
defect
04e69bdb260d9e74f392e9cbf01ee87f6feb798b
a159dd19c2f2be271ac1f496d485a44abe3022e8
Consistent handling of undeclared checked exceptions in CGLIB proxies
This PR fixes a regression in 5.2.RC2. Before this version, if an object was proxied with CGLIB and threw an undeclared checked exception, for example using lombok's `@SneakyThrows`, the proxy interceptors would see the target's exception as is, and the CGLIB generated class would then wrap the exception in an `Unde...
diff --git a/spring-aop/src/main/java/org/springframework/aop/framework/CglibAopProxy.java b/spring-aop/src/main/java/org/springframework/aop/framework/CglibAopProxy.java index bbfcfed9567a..41a4b5da9ef1 100644 --- a/spring-aop/src/main/java/org/springframework/aop/framework/CglibAopProxy.java +++ b/spring-aop/src/main...
1
1
0
[{"id": "G0", "claim": "The field name `calToSuperWasSeen` may contain a typo ('cal' rather than 'call').", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
spring-projects__spring-framework__33705
spring-projects/spring-framework
33,705
defect
ec895534c54306b2fb742519694350317f89d773
c78a2132954934b039f7abb1181f87ee704c26df
Fix `PathMatchingResourcePatternResolver` manifest classpath discovery
Update `PathMatchingResourcePatternResolver` so that in addition to searching the `java.class.path` system property for classpath enties, it also searches the `MANIFEST.MF` files from within those jars. Prior to this commit, the `addClassPathManifestEntries()` method expected that the JVM had added `Class-Path` mani...
diff --git a/spring-core/src/main/java/org/springframework/core/io/support/PathMatchingResourcePatternResolver.java b/spring-core/src/main/java/org/springframework/core/io/support/PathMatchingResourcePatternResolver.java index b2d9959923b0..e4169dec686e 100644 --- a/spring-core/src/main/java/org/springframework/core/io...
3
3
2
[{"id": "G0", "claim": "Such a significant refactoring in a subtle core area seems better placed in 6.2 than in 6.1.x, so the pull request should be rebased onto `main` and taken forward there.", "category": "process", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The pull req...
null
spring-projects__spring-integration-samples__17
spring-projects/spring-integration-samples
17
defect
0422b81415e7e6d9b51b14d4670b748784110275
5134d44073a8fb98071a79e44a01c15b815ef7b8
Added Cafe Scripted Demo
This is a scripted implementation of the classic Cafe Demo
diff --git a/applications/cafe-scripted/.gitignore b/applications/cafe-scripted/.gitignore new file mode 100644 index 000000000..c2f82a3b0 --- /dev/null +++ b/applications/cafe-scripted/.gitignore @@ -0,0 +1,5 @@ +/target +.classpath +.project +.springBeans +.settings diff --git a/applications/cafe-scripted/error.out b...
2
2
0
[{"id": "G0", "claim": "Provide applications/cafe-scripted/readme.txt as a Markdown-formatted README.md file instead.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Copyright headers in the cafe sample sources should read 2002-2011 rather than 200...
null
spring-projects__spring-integration-samples__334
spring-projects/spring-integration-samples
334
defect
62319c8e5b1a517910ed0578d1960a39afd1f1c3
f43f2d92df29272cf693b247c6e8e56d909f911d
Attempt to provide a more realistic SFTP public key sample and …
…leverage existing `PublickeyAuthenticator` support from Apache MINA. The idea is to encourage developers to utilize existing support from MINA or similar frameworks, instead of "porting/tweaking" the `decodePublicKey(..)` over and over again (as I've observed on different projects) :) The `AuthorizedKeyEntry` ap...
diff --git a/basic/sftp/src/test/java/org/springframework/integration/samples/sftp/EmbeddedSftpServer.java b/basic/sftp/src/test/java/org/springframework/integration/samples/sftp/EmbeddedSftpServer.java index ec0e09b70..bf376dac1 100644 --- a/basic/sftp/src/test/java/org/springframework/integration/samples/sftp/Embedde...
1
1
0
[{"id": "G0", "claim": "Use Apache MINA's AuthorizedKeysAuthenticator, constructed from a Path resolved from the classpath resource, instead of manually building a KeySetPublickeyAuthenticator from the parsed sftp_rsa.pub key.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
spring-projects__spring-integration-samples__335
spring-projects/spring-integration-samples
335
defect
62319c8e5b1a517910ed0578d1960a39afd1f1c3
3edd255656d218e88681e639a660295711d37a64
Enable Gradle test-support for samples.
I was unfortunately unable to execute the `:sftp`samples, but amending the appropriate block in `build.gradle` with `test { useJUnitPlatform() }` (3edd255656d218e88681e639a660295711d37a64) allowed execution via both Gradle & IDE. A more general approach could be a single block on root level, along the lines of ``...
diff --git a/basic/sftp/README.md b/basic/sftp/README.md index f4d938dfa..f162853ae 100644 --- a/basic/sftp/README.md +++ b/basic/sftp/README.md @@ -1,12 +1,21 @@ SFTP Sample =========== +# Overview This example demonstrates the following aspects of the SFTP support available with Spring Integration: 1. SFTP In...
2
1
1
[{"id": "G0", "claim": "JUnit platform support should be enabled once in the shared subprojects.test configuration block instead of inside the sftp project, since JUnit 5 is required for all tests.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G2", "claim": "The PR sh...
null
spring-projects__spring-integration-samples__379
spring-projects/spring-integration-samples
379
defect
e809475bccdaf3bf8c53a4023f125d571bf466d0
6f44200adbecb99a58f50791e5783950a1328f3c
Add gRPC client sample with Spring Integration
Implement a new basic sample demonstrating Spring Integration's gRPC client capabilities. This sample shows how to integrate gRPC with Spring Boot and Spring Integration for both single-response and streaming response patterns. This example is based on the proto file that exists in the Spring gRPC project, to provid...
diff --git a/basic/grpc-client/README.md b/basic/grpc-client/README.md new file mode 100644 index 000000000..c3f78c734 --- /dev/null +++ b/basic/grpc-client/README.md @@ -0,0 +1,58 @@ +gRPC Client Sample +================== + +This example demonstrates the use of Spring Integration's **gRPC Outbound Gateway** for clien...
13
11
0
[{"id": "G0", "claim": "The sample's Java packages and the proto java_package should be drilled further into a more specific package such as org.springframework.integration.samples.grpc.client instead of the generic org.springframework.integration.samples.", "category": "design", "verdict": "supported", "priority": "P2...
null
spring-projects__spring-integration-samples__381
spring-projects/spring-integration-samples
381
defect
0bf330dfe347c7c05fcda6e52e14886ec9c3baf3
2a7ea42d24941b18253e792074ce8036169ed638
Update Spring grpc to 1.1.0-SNAPSHOT
<!-- Thanks for contributing to Spring Integration Samples. Please provide a brief description of your pull-request and reference any related issue numbers (prefix references with #) or StackOverflow questions. See the [Contributor Guidelines for more information](https://github.com/spring-projects/spring-integra...
diff --git a/basic/grpc-client/pom.xml b/basic/grpc-client/pom.xml index 5c4ce3fb8..1ba056089 100644 --- a/basic/grpc-client/pom.xml +++ b/basic/grpc-client/pom.xml @@ -65,7 +65,7 @@ <dependency> <groupId>org.springframework.grpc</groupId> <artifactId>spring-grpc-dependencies</artifactId> - ...
4
4
0
[{"id": "G0", "claim": "Now that the test opts in to a named in-process server, the two first `spring.grpc.test.inprocess.*` properties (and the Gradle dependency exclusions) are probably no longer needed and should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introdu...
null
spring-projects__spring-integration-samples__382
spring-projects/spring-integration-samples
382
defect
78796f7a60b2840ee5a7ad5bc1301ec1760ece7c
3d289869b15faf781a7d79e610892782f91fbcb7
Add gRPC server sample with Spring Integration
Introduce a new basic sample demonstrating the GrpcInboundGateway. This provides users with a reference implementation for handling both unary and server streaming gRPC requests using Spring Boot. - Add grpc-server module with protobuf definitions - Configure GrpcInboundGateway to route by service method - Include t...
diff --git a/basic/grpc-server/README.md b/basic/grpc-server/README.md new file mode 100644 index 000000000..f67b43828 --- /dev/null +++ b/basic/grpc-server/README.md @@ -0,0 +1,36 @@ +gRPC Server Sample +================== + +This example demonstrates the use of **gRPC Inbound Gateway** with Spring Integration. + +It ...
9
7
0
[{"id": "G0", "claim": "The README should tell the story of how the gRPC client sample can be run against this gRPC server, and ideally a similar note should be added to the client README.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The Applica...
null
spring-projects__spring-integration-samples__383
spring-projects/spring-integration-samples
383
defect
7ac33ea46f803e9410f42e6d6d5bc8cb70ffb57c
f01035b623c9b5ca6260feca560b5508851f26aa
Remove Netty dependency exclude from tests
To disable the activation of the Netty server when using the inprocess server add `@AutoConfigureTestGrpcTransport` to the test. <!-- Thanks for contributing to Spring Integration Samples. Please provide a brief description of your pull-request and reference any related issue numbers (prefix references with #) o...
diff --git a/basic/grpc-client/src/test/java/org/springframework/integration/samples/grpc/client/GrpcClientTests.java b/basic/grpc-client/src/test/java/org/springframework/integration/samples/grpc/client/GrpcClientTests.java index 721ac33ed..5ad162683 100644 --- a/basic/grpc-client/src/test/java/org/springframework/int...
1
1
0
[{"id": "G0", "claim": "There is overlap between the new @AutoConfigureTestGrpcTransport annotation and the explicit 'in-process' properties, such that if one goes with the annotation those properties should be inferred from it rather than set explicitly.", "category": "design", "verdict": "supported", "priority": "P2"...
null
spring-projects__spring-integration__10340
spring-projects/spring-integration
10,340
defect
ccd3146549fa45f564e08843f598c7d22cc73953
0be8dff75428d7b3bcd25b2379ec3ccc495d2543
GH-10264: Add Jackson 3 support to Kafka module
Fixes: https://github.com/spring-projects/spring-integration/issues/10264 * Update all Kafka components to conditionally use Jackson 3 classes * Migrate test configurations and XML beans to use `JsonKafkaHeaderMapper` * Suppress removal warning in `KafkaProducerMessageHandler`
diff --git a/spring-integration-kafka/src/main/java/org/springframework/integration/kafka/channel/SubscribableKafkaChannel.java b/spring-integration-kafka/src/main/java/org/springframework/integration/kafka/channel/SubscribableKafkaChannel.java index 307370a6196..d2675c0a4e7 100644 --- a/spring-integration-kafka/src/ma...
2
2
0
[{"id": "G0", "claim": "The new Jackson 3 code in SubscribableKafkaChannel should reference JacksonMessagingUtils via an import instead of its fully qualified class name.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new Jackson 3 code in K...
null
spring-projects__spring-integration__10359
spring-projects/spring-integration
10,359
defect
a7d1f969cfb616c43a49da750fad0e94bf615c7e
8d35f29f580a65353565bf0d8f1883f3f407b1e6
GH-10083: Apply NullAbility to `core` `endpoint` package
related to: #10083 <!-- Thanks for contributing to Spring Integration. Please provide a brief description of your pull-request and reference any related issue numbers (prefix references with #) or StackOverflow questions. See the [Contributor Guidelines for more information](https://github.com/spring-projects/...
diff --git a/spring-integration-core/src/main/java/org/springframework/integration/endpoint/AbstractEndpoint.java b/spring-integration-core/src/main/java/org/springframework/integration/endpoint/AbstractEndpoint.java index be221a1100d..7378c911192 100644 --- a/spring-integration-core/src/main/java/org/springframework/i...
1
1
1
[{"id": "G0", "claim": "The `outputChannel` field should be annotated `@Nullable` instead of `@SuppressWarnings(\"NullAway.Init\")`, as `getOutputChannel()` may return null.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
spring-projects__spring-integration__10399
spring-projects/spring-integration
10,399
defect
1af554ce93bfb2f9a3e048da8d19bbe1196344f6
a8131552876623339444530c20a4305444009415
GH-10083: Add Nullability to support.management
<!-- Thanks for contributing to Spring Integration. Please provide a brief description of your pull-request and reference any related issue numbers (prefix references with #) or StackOverflow questions. See the [Contributor Guidelines for more information](https://github.com/spring-projects/spring-integration/blo...
diff --git a/spring-integration-core/src/main/java/org/springframework/integration/dsl/RouterSpec.java b/spring-integration-core/src/main/java/org/springframework/integration/dsl/RouterSpec.java index d69f106317a..8d4d74f3e20 100644 --- a/spring-integration-core/src/main/java/org/springframework/integration/dsl/RouterS...
3
3
2
[{"id": "G0", "claim": "The `description` is not null whenever a `CommandMethod` is initialized after `populateCommandMethod()`, so prefer a `NullAway.Init` suppression over `@Nullable` there, which also makes the `@Nullable` change to `ControlBusCommand` in `ControlBusController` go away.", "category": "design", "verd...
null
spring-projects__spring-integration__10401
spring-projects/spring-integration
10,401
defect
76f990c9b9835d48fd3e9758090125f056116304
6c1024dadafa6187079c9b90d14ece3693b7ddee
GH-10345: Migrate to Spring Core Retry
Fixes: https://github.com/spring-projects/spring-integration/issues/10345 * Remove `spring-retry` dependency since all its usage have been replaced with Spring Core Retry and some custom internal implementations * Rework the `RequestHandlerRetryAdvice` to be based on the Spring Core Retry: - accept only `RetryPol...
diff --git a/build.gradle b/build.gradle index 07b3a84edf7..95872d5db3e 100644 --- a/build.gradle +++ b/build.gradle @@ -104,7 +104,6 @@ ext { springDataVersion = '2025.1.0-M5' springGraphqlVersion = '2.0.0-SNAPSHOT' springKafkaVersion = '4.0.0-SNAPSHOT' - springRetryVersion = '2.0.12' springSecu...
7
3
1
[{"id": "G0", "claim": "The retry state cache removal on success should use retryStateKey rather than the retryState object as its argument.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The class-level Javadoc sentence should begin 'Is an {@link A...
null
spring-projects__spring-integration__10420
spring-projects/spring-integration
10,420
defect
e575220c32b1c35d96eb8c3eb7ed633717bcaa11
3c36f10bc0fa6e6b6f8be28b4a91624f70497ad7
GH-10162: The full file path for `PersistentAcceptOnceFileListFilter`
Fixes: https://github.com/spring-projects/spring-integration/issues/10162 The `AbstractPersistentAcceptOnceFileListFilter` may cause a problem with entries in the `MetadataStore` when the same file name is used from different directories. Let's imagine a scenario when remote directories are created every day with re...
diff --git a/spring-integration-ftp/src/main/java/org/springframework/integration/ftp/filters/FtpPersistentAcceptOnceFileListFilter.java b/spring-integration-ftp/src/main/java/org/springframework/integration/ftp/filters/FtpPersistentAcceptOnceFileListFilter.java index 229eb4b2c53..f95ead0a865 100644 --- a/spring-integr...
3
3
1
[{"id": "G0", "claim": "In FtpSession.list(), when path is the current working directory given as \"\" (blank), the code still should go through the flow of adding the long file name instead of skipping it.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "clai...
null
spring-projects__spring-integration__10488
spring-projects/spring-integration
10,488
defect
20bc3a5118d95b05fff7cb1c1a99126534869cc9
60859e51d22a9759db5a3ec9d6ad13aa04fb7ff3
GH-10487: Add STOMP `CONNECT` frame from the client
Fixes: https://github.com/spring-projects/spring-integration/issues/10487 * Fix `WebSocketInboundChannelAdapter` to register own client session in the `StompSubProtocolHandler` for a proper correlation for upcoming messages from the server * Fix `WebSocketOutboundMessageHandlerTests` to produce required STOMP `CONN...
diff --git a/spring-integration-websocket/src/main/java/org/springframework/integration/websocket/inbound/WebSocketInboundChannelAdapter.java b/spring-integration-websocket/src/main/java/org/springframework/integration/websocket/inbound/WebSocketInboundChannelAdapter.java index a0a4d874f5f..34a3010b19e 100644 --- a/spr...
3
3
0
[{"id": "G0", "claim": "The StompEncoder should be created as a class attribute and initialized in the constructor instead of being instantiated locally in afterSessionStarted.", "category": "design", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The accept version literal \"1...
null
spring-projects__spring-integration__10683
spring-projects/spring-integration
10,683
defect
0183a15192e561b344cb96743f0c7c33a6a2916b
6c19e536f5e8c67375ab8ccaa0bddb09e9369cf7
GH-10666: TcpNio: Restore RejectedExecutionException propagation
Fixes: https://github.com/spring-projects/spring-integration/issues/10666 After some refactoring in the past, the `TcpNioConnection.readPacket()` does not re-throw a `RejectedExecutionException` when no sufficient resource to handle a new task in the `Executor`. This leads to connection closing instead of delaying ...
diff --git a/spring-integration-ip/src/main/java/org/springframework/integration/ip/tcp/connection/TcpNioConnection.java b/spring-integration-ip/src/main/java/org/springframework/integration/ip/tcp/connection/TcpNioConnection.java index faf37e8fd20..2b493f33880 100644 --- a/spring-integration-ip/src/main/java/org/sprin...
1
1
1
[{"id": "G0", "claim": "The new test delayedReadsDueToRejectedExecutionException does not actually execute the newly added RejectedExecutionException-handling code in TcpNioConnection.readPacket() (readPacket() is never invoked, since conn1 is a mock and rejection happens elsewhere), and the reviewer asks the author to...
null
spring-projects__spring-integration__10705
spring-projects/spring-integration
10,705
defect
1fb70e297b86368350934073f4ecdf9772dba503
49d5df5abeb995a884f455c23c3f0068af26407b
Fix MQTTv5 reconnection race condition
Fixes: #10697 Address race condition in `Mqttv5PahoMessageHandler` when multiple threads attempt to connect simultaneously. Changes: - Add `RetryTemplate` with configurable retry count for connection attempts - Implement `MqttExceptionMatcher` to handle specific MQTT error codes - Add `setRetryConnectionCount`...
diff --git a/spring-integration-mqtt/src/main/java/org/springframework/integration/mqtt/outbound/Mqttv5PahoMessageHandler.java b/spring-integration-mqtt/src/main/java/org/springframework/integration/mqtt/outbound/Mqttv5PahoMessageHandler.java index 638bae526e4..4dae90cc940 100644 --- a/spring-integration-mqtt/src/main/...
6
6
0
[{"id": "G0", "claim": "The PR should check the retry option the framework already provides via handler advice instead of relying only on its own connection-retry handling.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new test class Javadoc wrongly...
null
spring-projects__spring-integration__10829
spring-projects/spring-integration
10,829
defect
30f7b3a256f970df87117b74075957b55f86161b
294ae7e7e3fb3c3660ec5b1d877f0f3eef4432dc
Add null value support to MapBuilder
- Add null value support to StaticHeaderValueMessageProcessor Fixes: https://github.com/spring-projects/spring-integration/issues/10827 **Auto-cherry-pick to `7.0.x`** <!-- Thanks for contributing to Spring Integration. Please provide a brief description of your pull-request and reference any related iss...
diff --git a/spring-integration-core/src/main/java/org/springframework/integration/support/MapBuilder.java b/spring-integration-core/src/main/java/org/springframework/integration/support/MapBuilder.java index 56c64815315..641bd7b500b 100644 --- a/spring-integration-core/src/main/java/org/springframework/integration/sup...
4
4
3
[{"id": "G0", "claim": "The nullability should be expressed by moving @Nullable to the generic argument definition (T extends @Nullable Object) on the processor type hierarchy instead of annotating fields and methods, as done for example in CheckedCallable.", "category": "design", "verdict": "supported", "priority": "P...
null
spring-projects__spring-integration__10855
spring-projects/spring-integration
10,855
defect
34c2a219c92a00e46924ba428098158177c83002
134d9255c5a2f649a714a0d5ce875f6e37ef8277
GH-10854: Fix remote file long name for SFTP
Fixes: https://github.com/spring-projects/spring-integration/issues/10854 The logic in the framework is to use a long file name (preferably, the whole path) for metadata key. This was implemented via: https://github.com/spring-projects/spring-integration/issues/10162 Fix `SftpSession.doList()` not consulting with...
diff --git a/spring-integration-sftp/src/main/java/org/springframework/integration/sftp/session/SftpSession.java b/spring-integration-sftp/src/main/java/org/springframework/integration/sftp/session/SftpSession.java index f95de33d4f1..7cd654474f3 100644 --- a/spring-integration-sftp/src/main/java/org/springframework/int...
2
2
0
[{"id": "G0", "claim": "Remove the blank line inside the map lambda in SftpSession.doList (line 133).", "category": "style", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Should the added test comment read 'Starting with the ...' instead of 'Plus with the ...'?", "category": "...
null
spring-projects__spring-integration__10856
spring-projects/spring-integration
10,856
defect
34c2a219c92a00e46924ba428098158177c83002
174f0b3a2f7b70031b1a41394cb5c5366144dcca
GH-10853: Fix MQTTv5 for any shared subscription pattern
Fixes: https://github.com/spring-projects/spring-integration/issues/10853 Apparently, not all MQTT brokers come with `$share/` pattern on shared subscription topics. * Fix `Mqttv5PahoMessageDrivenChannelAdapter` to check `subscribedTopic` for starting `$` symbol and having `/` * Adjust `ClientManagerBackToBackTe...
diff --git a/spring-integration-mqtt/src/main/java/org/springframework/integration/mqtt/inbound/Mqttv5PahoMessageDrivenChannelAdapter.java b/spring-integration-mqtt/src/main/java/org/springframework/integration/mqtt/inbound/Mqttv5PahoMessageDrivenChannelAdapter.java index 98e1f20ac9e..a2d9db7d260 100644 --- a/spring-in...
1
1
1
[{"id": "G0", "claim": "The new condition for stripping shared-subscription prefixes is too loose: a malformed topic would cause an ArrayIndexOutOfBoundsException and non-shared $ topics like mosquitto's default $SYS/broker/# are matched, which is not desired, so a definite set of shared prefixes (with a length-safe sp...
null
spring-projects__spring-integration__10905
spring-projects/spring-integration
10,905
defect
661974a48ec48ec4a88f2cae11df65ad61890df4
5dfda33625426bd15cce84a3eed61a68e4b025c3
Add dsl for redis inbound/outbound channel adapter.
Related to: #8108 <!-- Thanks for contributing to Spring Integration. Please provide a brief description of your pull-request and reference any related issue numbers (prefix references with #) or StackOverflow questions. See the [Contributor Guidelines for more information](https://github.com/spring-projects/s...
diff --git a/spring-integration-redis/src/main/java/org/springframework/integration/redis/dsl/Redis.java b/spring-integration-redis/src/main/java/org/springframework/integration/redis/dsl/Redis.java new file mode 100644 index 00000000000..690ae559c6f --- /dev/null +++ b/spring-integration-redis/src/main/java/org/spring...
7
7
1
[{"id": "G0", "claim": "Remove the blank line between the @author and @since tags in the Redis class Javadoc.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The RedisInboundChannelAdapterSpec constructor should be protected, not public, so specs a...
null
spring-projects__spring-integration__10911
spring-projects/spring-integration
10,911
defect
adcfdfbd288ae45e43e9849f8d1b516ada378a04
b8617591ee68e84d5c0c51aaf97da38fb9f24892
Add DSL for Redis Queue channel adapters.
Related to: #8108 Also add respective Java DSL and Java usage in redis.adoc. Additionally, add missing MessageConverter sample for channel adapters in redis.adoc. <!-- Thanks for contributing to Spring Integration. Please provide a brief description of your pull-request and reference any related issue numbe...
diff --git a/spring-integration-redis/src/main/java/org/springframework/integration/redis/dsl/Redis.java b/spring-integration-redis/src/main/java/org/springframework/integration/redis/dsl/Redis.java index 198fb5c4424..bea02e14cb6 100644 --- a/spring-integration-redis/src/main/java/org/springframework/integration/redis/...
8
8
0
[{"id": "G0", "claim": "The class-level Javadoc of RedisQueueOutboundChannelAdapterSpec should link {@link RedisQueueOutboundChannelAdapter} instead of {@link RedisQueueOutboundChannelAdapterSpec}.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Th...
null
spring-projects__spring-integration__10921
spring-projects/spring-integration
10,921
defect
20e222877300c0d4a942e985b5472dace848f396
dcb036f21815bb7f47a196469078d13061510af1
Add DSL for Redis Store channel adapters.
Related to: https://github.com/spring-projects/spring-integration/issues/8108 <!-- Thanks for contributing to Spring Integration. Please provide a brief description of your pull-request and reference any related issue numbers (prefix references with #) or StackOverflow questions. See the [Contributor Guideline...
diff --git a/spring-integration-redis/src/main/java/org/springframework/integration/redis/dsl/Redis.java b/spring-integration-redis/src/main/java/org/springframework/integration/redis/dsl/Redis.java index 8e92ef879a3..6fc6e23b4d8 100644 --- a/spring-integration-redis/src/main/java/org/springframework/integration/redis/...
10
10
3
[{"id": "G0", "claim": "RedisTests.java contains two unused imports (SourcePollingChannelAdapterFactoryBean and RedisStoreMessageSource) that violate Checkstyle and fail the check, so ./gradlew :spring-integration-redis:check should be run locally before pushing.", "category": "maintainability", "verdict": "supported",...
null
spring-projects__spring-integration__10930
spring-projects/spring-integration
10,930
defect
55c8180c281e070611b580e137e8f1928b7b4c44
6d04aca1f132356fed76faa6f42781c0a9daa8a0
Use CAS/CAD commands in RedisLockRegistry
References #10782 This PR updates `RedisLockRegistry` to prefer Redis CAS (Compare-And-Set) and CAD (Compare-And-Delete) commands over Lua scripts for lock renewal and lock release in `RedisSpinLock`. CAS/CAD are native Redis commands ([since. 8.4](https://redis.io/docs/latest/develop/whats-new/8-4/#enhanced-str...
diff --git a/spring-integration-redis/src/main/java/org/springframework/integration/redis/util/RedisLockRegistry.java b/spring-integration-redis/src/main/java/org/springframework/integration/redis/util/RedisLockRegistry.java index 964019e7d5c..9ba2865fae0 100644 --- a/spring-integration-redis/src/main/java/org/springfr...
12
12
2
[{"id": "G0", "claim": "The duplicated inline Lua script executions in renew (lines 620/630) and removeLockKeyInnerUnlink (lines 885/895) should be extracted into methods to reduce code duplication.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": ...
null
spring-projects__spring-integration__10933
spring-projects/spring-integration
10,933
defect
bdc0496fc98813dab69f89027d0cbd27ab7cf155
8ca293b38b0c99bac72e909a4be93bbf3f8c0ced
Add JmsTemplate overloads to JMS DSL channel specs
Fixes: #6656 - Allow `JmsChannelFactoryBean` to accept an externally provided `JmsTemplate` - Add `Jms.pollableChannel(JmsTemplate)` and `Jms.pollableChannel(String, JmsTemplate)` factory methods - Add `Jms.channel(JmsTemplate)` factory method - Add protected constructors to `JmsPollableMessageChannelSpec` and `J...
diff --git a/spring-integration-jms/src/main/java/org/springframework/integration/jms/config/JmsChannelFactoryBean.java b/spring-integration-jms/src/main/java/org/springframework/integration/jms/config/JmsChannelFactoryBean.java index 10e87de8dfa..3988791c695 100644 --- a/spring-integration-jms/src/main/java/org/spring...
4
4
1
[{"id": "G0", "claim": "Add `@since` and other missing Javadoc to the new `setJmsTemplate` method, and guard against mutation of the externally injected template — validate in `createInstance()`/`initializeJmsTemplate()` (where setter call order does not matter) that template-delegating setters were not used after/with...
null
spring-projects__spring-integration__10941
spring-projects/spring-integration
10,941
defect
5667f38642879317856495c211feefde60e9803f
eebc4ca7ea63aaa9275430130fe41f6d14281f94
GH-8108: Add DSL for Redis Outbound Command Gateway.
Related to: https://github.com/spring-projects/spring-integration/issues/8108 <!-- Thanks for contributing to Spring Integration. Please provide a brief description of your pull-request and reference any related issue numbers (prefix references with #) or StackOverflow questions. See the [Contributor Guideline...
diff --git a/spring-integration-redis/src/main/java/org/springframework/integration/redis/dsl/Redis.java b/spring-integration-redis/src/main/java/org/springframework/integration/redis/dsl/Redis.java index 6b55bcff361..fdf2bec26de 100644 --- a/spring-integration-redis/src/main/java/org/springframework/integration/redis/...
2
2
1
[{"id": "G0", "claim": "Add a simple `command(String)` convenience method (delegating to a LiteralExpression) to RedisOutboundGatewaySpec, since it would be nicer for end-user experience than writing a command expression string.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {...
null
spring-projects__spring-integration__10944
spring-projects/spring-integration
10,944
defect
9c01613b1eab594c8dd63651d82634fe18e1389e
57515a9e8f09ba79094bafbdc51f444a85403588
GH-8108: Add DSL for Redis Queue Gateways.
Related to: https://github.com/spring-projects/spring-integration/issues/8108 doc fix: there are no properties named `order` and `expect-message` in queue-inbound-gateway, replaced with `phase` and `extract-payload`, modify the properties explanation respectively. <!-- Thanks for contributing to Spring Integrati...
diff --git a/spring-integration-redis/src/main/java/org/springframework/integration/redis/dsl/Redis.java b/spring-integration-redis/src/main/java/org/springframework/integration/redis/dsl/Redis.java index fdf2bec26de..93bac4296dd 100644 --- a/spring-integration-redis/src/main/java/org/springframework/integration/redis/...
3
3
0
[{"id": "G0", "claim": "The test should rely on the MessageHeaders.REPLY_CHANNEL from the request message instead of defining the reply channel at the end of the flow, creating a new QueueChannel and populating it into the request message header so the code is simpler and more focused.", "category": "design", "verdict"...
null
spring-projects__spring-integration__10977
spring-projects/spring-integration
10,977
defect
a14c91e2df07447905a3accc28f7ac342b775b3b
3dfd025131e9a5bb1617187e471d27211f6ed257
GH-8108: Add DSL for Redis Stream Channel Adapters
Fixes: https://github.com/spring-projects/spring-integration/issues/8108 <!-- Thanks for contributing to Spring Integration. Please provide a brief description of your pull-request and reference any related issue numbers (prefix references with #) or StackOverflow questions. See the [Contributor Guidelines for...
diff --git a/spring-integration-redis/src/main/java/org/springframework/integration/redis/dsl/ReactiveRedisInboundChannelAdapterSpec.java b/spring-integration-redis/src/main/java/org/springframework/integration/redis/dsl/ReactiveRedisInboundChannelAdapterSpec.java new file mode 100644 index 00000000000..a1c2ea56be0 ---...
2
2
0
[{"id": "G0", "claim": "Rename ReactiveRedisInboundChannelAdapterSpec to a name reflecting Redis Streams, e.g. RedisStreamInboundChannelAdapterSpec.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Rename ReactiveRedisOutboundChannelAdapterSpec to...
null
spring-projects__spring-integration__11003
spring-projects/spring-integration
11,003
defect
59c6f61ac67b685c75e11e14b5071a17a09b72f1
5568c0768768a7f868c3682ede97c58dc9950f27
GH-10988: Align HTTP Cross-Origin with Spring MVC
Fixes: https://github.com/spring-projects/spring-integration/issues/10988 The Spring MVC comes with `allowedOrigins` as empty list and `allowCredentials` as `false` by default. In addition, Spring MVC provides now a flexible `allowedOriginPatterns` * Fix HTTP and WebFlux module to handle the required by Spring M...
diff --git a/spring-integration-http/src/main/java/org/springframework/integration/http/config/HttpInboundEndpointParser.java b/spring-integration-http/src/main/java/org/springframework/integration/http/config/HttpInboundEndpointParser.java index 263360953fa..79befd63c31 100644 --- a/spring-integration-http/src/main/ja...
2
1
0
[{"id": "G0", "claim": "The two added documentation lines 132 and 133 of the origin-patterns description in namespace.adoc can be on the same line.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Since this change is a breaking change, a What's New...
null
spring-projects__spring-kafka__2442
spring-projects/spring-kafka
2,442
defect
6003346ba31a43ec5c8df3ee1c52acf422c60ba5
17ff3a8fb4f94e0805e911b3e4d7f1c0f5cc7db3
GH-2282: Fix Multi RetryableTopic Same Topic
Resolves https://github.com/spring-projects/spring-kafka/issues/2282
diff --git a/spring-kafka-docs/src/main/asciidoc/retrytopic.adoc b/spring-kafka-docs/src/main/asciidoc/retrytopic.adoc index 4dc406c209..5c8a35be0a 100644 --- a/spring-kafka-docs/src/main/asciidoc/retrytopic.adoc +++ b/spring-kafka-docs/src/main/asciidoc/retrytopic.adoc @@ -687,6 +687,37 @@ public class CustomRetryTopi...
3
2
2
[{"id": "G0", "claim": "The multi-retry documentation example uses a `groupId` property that does not exist on the `@RetryableTopic` annotation.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "A `RetryTopicEndpoint` subclass should be created so `m...
null
spring-projects__spring-kafka__2568
spring-projects/spring-kafka
2,568
defect
f1f41e98738664baff3a6511bb41a00b7dfb0a15
99bd9a4346eb01f1c5615d5665a1a945bba36d71
GH-2566: Both Converters in Container Factory
Resolves https://github.com/spring-projects/spring-kafka/issues/2566 Now that both batch and record listners can be created by a single factory, it should be possible to configure both a `RecordMessageConverter` and `BatchMessageConverter`. Previously, only a single `MessageConverter` could be configured. **ch...
diff --git a/spring-kafka/src/main/java/org/springframework/kafka/config/AbstractKafkaListenerContainerFactory.java b/spring-kafka/src/main/java/org/springframework/kafka/config/AbstractKafkaListenerContainerFactory.java index 16320ef034..20c70ba30e 100644 --- a/spring-kafka/src/main/java/org/springframework/kafka/conf...
1
1
0
[{"id": "G0", "claim": "The pull request should also include documentation updates covering the new separate record/batch message converter properties.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
spring-projects__spring-kafka__2584
spring-projects/spring-kafka
2,584
defect
2e2c6d6c630c49f1765a65445bc7c6587010fb87
743cd6828bb20b64186863cf009d893848068584
GH-2583 ProducerFactory.createProducer argument @Nullable
Resolves: #2583 ProducerFactory.createProducer argument txIdPrefix is non-nullable which causes kotlin compiler to emit warning if implementations declare txIdPrefix as nullable txIdPrefix: String? This PR changes signature of ProducerFactory.createProducer so that `txIdPrefix` is `@Nullable` and also adds unit t...
diff --git a/spring-kafka/src/main/java/org/springframework/kafka/core/ProducerFactory.java b/spring-kafka/src/main/java/org/springframework/kafka/core/ProducerFactory.java index eb0139ef16..b65802ac88 100644 --- a/spring-kafka/src/main/java/org/springframework/kafka/core/ProducerFactory.java +++ b/spring-kafka/src/mai...
2
2
0
[{"id": "G0", "claim": "The new Kotlin test file should have a new line at the end of the file.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Since the fix will be back-ported to 2.9.x, the @since tag on the new test class should be 2.9.6 rathe...
null
spring-projects__spring-kafka__2586
spring-projects/spring-kafka
2,586
defect
2e2c6d6c630c49f1765a65445bc7c6587010fb87
93f87beab27172f15e27b8292a22e83e3c8cc86b
GH-2581: Fix OOO Commits with Rebalance
Resolves https://github.com/spring-projects/spring-kafka/issues/2581 If a rebalance occurred while pending out of order commits were present, the pending commits were correctly purged, however, the `consumerPaused` boolean remained true. This prevented the consumer from being paused again while the next batch of ...
diff --git a/spring-kafka/src/main/java/org/springframework/kafka/listener/KafkaMessageListenerContainer.java b/spring-kafka/src/main/java/org/springframework/kafka/listener/KafkaMessageListenerContainer.java index 1b2019f957..f834f43d71 100644 --- a/spring-kafka/src/main/java/org/springframework/kafka/listener/KafkaMe...
2
1
0
[{"id": "G0", "claim": "In repauseIfNeeded, replace the explicit null and isEmpty checks on pendingOffsets with a single ObjectUtils.isEmpty(pendingOffsets) test.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new test pruneRevokedPartitions...
null
spring-projects__spring-kafka__2613
spring-projects/spring-kafka
2,613
defect
426f11f6cd2057d278b93a081b89a84cc5a8fa0d
2834fb5fbe23f29da927b12668ae8c0efe4ce7f1
GH-2612: Add Option To Restart Container After Auth
Resolves https://github.com/spring-projects/spring-kafka/issues/2612 Add a container property to enable restarting the container after an emergency stop due to authentication/authorization exceptions, perhaps due to credentials expiring. **cherry-pick to 2.9.x**
diff --git a/spring-kafka-docs/src/main/asciidoc/kafka.adoc b/spring-kafka-docs/src/main/asciidoc/kafka.adoc index d7a951c4c3..b36526f30c 100644 --- a/spring-kafka-docs/src/main/asciidoc/kafka.adoc +++ b/spring-kafka-docs/src/main/asciidoc/kafka.adoc @@ -2556,7 +2556,15 @@ See `monitorInterval`. |[[pollTimeout]]<<po...
1
1
1
[{"id": "G0", "claim": "Something is off or not committed in the pushed change, as shown by a failing GitHub Action check; see the GH Action failure.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}]
null
spring-projects__spring-kafka__2648
spring-projects/spring-kafka
2,648
defect
1eaf5b3e7dac58102e1e346dd03b40ab0ff5d711
1d4a0084dce1ab54085d481db050e333f794de1b
GH-2638: Add Dynamic Micrometer Tags
Resolves https://github.com/spring-projects/spring-kafka/issues/2638 **cherry-pick to 2.9.x** TODO: Support for Observations when `observationEnabled` (3.0.x only).
diff --git a/spring-kafka-docs/src/main/asciidoc/kafka.adoc b/spring-kafka-docs/src/main/asciidoc/kafka.adoc index 28c3b70864..8a70414dea 100644 --- a/spring-kafka-docs/src/main/asciidoc/kafka.adoc +++ b/spring-kafka-docs/src/main/asciidoc/kafka.adoc @@ -2532,6 +2532,14 @@ Also see `idleBeforeDataMultiplier`. |`true` ...
1
1
1
[{"id": "G0", "claim": "The added documentation wrongly says you can provide a function in a `ContainerProperties` `micrometerTagsProvider` for the template, but there is no such `ContainerProperties` for `KafkaTemplate` - just a direct setter on that.", "category": "documentation", "verdict": "supported", "priority": ...
null
spring-projects__spring-kafka__2683
spring-projects/spring-kafka
2,683
defect
e6c0cc3d919c41e35ab943b533ca34101bf37ba6
5b0611876258a6e48fc6db832d5f062cd5fc06c6
GH-2190: add ctors to reactive producer and consumer
Fixes #2190
diff --git a/spring-kafka/src/main/java/org/springframework/kafka/core/reactive/ReactiveKafkaConsumerTemplate.java b/spring-kafka/src/main/java/org/springframework/kafka/core/reactive/ReactiveKafkaConsumerTemplate.java index 320c6b7c11..0dc15d7b60 100644 --- a/spring-kafka/src/main/java/org/springframework/kafka/core/r...
1
1
1
[{"id": "G0", "claim": "The pull request should probably also add a ReactiveKafkaProducerTemplate constructor that takes only a KafkaSender (no converter), to be consistent with the other constructors.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
spring-projects__spring-kafka__2694
spring-projects/spring-kafka
2,694
defect
5d294b5a03c09d1810afbfc0f489780d9051dca5
6ec5328201caf6b162863f32e0b46bbfcf5e6b0f
GH-2692: to be compatible with @Nested annotation
<!-- Thanks for contributing to Spring for Apache Kafka. Please provide a brief description of your pull-request and reference any related issue numbers (prefix references with #) or StackOverflow questions. See the [Contributor Guidelines for more information](https://github.com/spring-projects/spring-kafka/blob/...
diff --git a/spring-kafka-test/src/main/java/org/springframework/kafka/test/context/EmbeddedKafkaContextCustomizerFactory.java b/spring-kafka-test/src/main/java/org/springframework/kafka/test/context/EmbeddedKafkaContextCustomizerFactory.java index 88417a190f..a2e4aa131c 100644 --- a/spring-kafka-test/src/main/java/org...
1
1
1
[{"id": "G0", "claim": "The PR should add a test confirming the problem it fixes and the proposed fix, and additionally a context-caching test (the one referenced from spring-boot#30884) so the caching behaviour is covered too.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
spring-projects__spring-kafka__2706
spring-projects/spring-kafka
2,706
defect
2b4b57078a0ccb90c48c0eed06ed9f214750009b
4019868e1b7faa965ffd424fb1d7f996cd4fb417
GH-2702: RetryableTopic with asyncAcks
Resolves https://github.com/spring-projects/spring-kafka/issues/2702 When using `asyncAcks` with manual ack modes, the `DefaultErrorHandler` must have `seekAfterError` set to `false`; this required user configuration. The framework now unconditionally sets the property when it configures a container using a manua...
diff --git a/spring-kafka-docs/src/main/asciidoc/retrytopic.adoc b/spring-kafka-docs/src/main/asciidoc/retrytopic.adoc index 3b0641e3af..895720eb39 100644 --- a/spring-kafka-docs/src/main/asciidoc/retrytopic.adoc +++ b/spring-kafka-docs/src/main/asciidoc/retrytopic.adoc @@ -22,6 +22,22 @@ IMPORTANT: You can set the `Ac...
1
1
1
[{"id": "G0", "claim": "The added null check that substitutes a NoOpAck for a null acknowledgment is unnecessary since the parameter is already @Nullable, so the adapter should continue to pass `acknowledgment` through as it is.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
spring-projects__spring-kafka__2712
spring-projects/spring-kafka
2,712
defect
1eaaa27ab32721ea43c18e7d1c5e0abf6d062539
a10c26d2d80d385a046205ec3ddad10062088600
GH-2711: Non-Blocking Retries and Custom Publisher
Resolves https://github.com/spring-projects/spring-kafka/issues/2711 Previously, it was not easy to provide custom DLPRs, for example to override `createProducerRecord`.
diff --git a/spring-kafka-docs/src/main/asciidoc/retrytopic.adoc b/spring-kafka-docs/src/main/asciidoc/retrytopic.adoc index cb7b8de676..40dd5d6d7a 100644 --- a/spring-kafka-docs/src/main/asciidoc/retrytopic.adoc +++ b/spring-kafka-docs/src/main/asciidoc/retrytopic.adoc @@ -613,6 +613,29 @@ Starting with version 2.8.4,...
1
1
1
[{"id": "G0", "claim": "The Javadoc deprecation note on getHeaderNames() says to provide a supplier in the constructor, but the pull request only adds a setHeaderNamesSupplier setter and no such constructor argument, so the documentation should be corrected accordingly.", "category": "documentation", "verdict": "suppor...
null
spring-projects__spring-kafka__2743
spring-projects/spring-kafka
2,743
defect
bb34b3e1aae056d633c5b0d85a0b98f491632070
9668bab36728bac6426a6d6a379dbb55f7aa39e9
GH-2742: Exit batch retries when container is paused
Closes #2742 Implementation is aligned with idea exit retrying as soon as possible if any of is true: - container is not running anymore - container is requested to pause - retrying batch which has record from partition that container is requested to pause Why I extracted ? ```java static Runnable NO_OP ...
diff --git a/spring-kafka/src/main/java/org/springframework/kafka/listener/ErrorHandlingUtils.java b/spring-kafka/src/main/java/org/springframework/kafka/listener/ErrorHandlingUtils.java index 0a2a2d5af8..3a09239fca 100644 --- a/spring-kafka/src/main/java/org/springframework/kafka/listener/ErrorHandlingUtils.java +++ b...
2
1
0
[{"id": "G0", "claim": "Perhaps traversing the records twice per iteration is a bit much, especially with large max.poll.records; maybe add isAnyPartitionPauseRequested() to the container and use that here instead.", "category": "performance", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1",...
null
spring-projects__spring-kafka__2858
spring-projects/spring-kafka
2,858
defect
a455eed0843597a9fe54e04895c0c19bd98395fd
1817703dc036c10b71c250e036c82aec14fa051d
GH-2731: fix count and time ack mode
fixes #2731
diff --git a/spring-kafka/src/main/java/org/springframework/kafka/listener/KafkaMessageListenerContainer.java b/spring-kafka/src/main/java/org/springframework/kafka/listener/KafkaMessageListenerContainer.java index 350de4df3b..206b2cb200 100644 --- a/spring-kafka/src/main/java/org/springframework/kafka/listener/KafkaMe...
2
2
1
[{"id": "G0", "claim": "With count-based ack mode the 7th record's offset will never be committed, so the container must accelerate the commit based on count when the next poll returns no records; the test must keep verifying the commit of offset 7 and the comments on lines 3063 and 3068 need adjusting.", "category": "...
null
spring-projects__spring-kafka__2876
spring-projects/spring-kafka
2,876
defect
9794c584f6093af76b6bb4e8ba672f1bbd8fefe2
d4c5f907fc7ca30980c8022333a139cd355deef3
GH-2654: Incorrect retry topic suffix
Resolves https://github.com/spring-projects/spring-kafka/issues/2654 * fix incorrect retry topic suffix when attempts is 2 * optimization method `isDelayWithReusedTopic` * add retry topic integration tests when reuse retry topic fix java doc in RetryTopic * fix javadoc in `@RetryTopic` * fix javadoc i...
diff --git a/spring-kafka/src/main/java/org/springframework/kafka/annotation/RetryTopicConfigurationProvider.java b/spring-kafka/src/main/java/org/springframework/kafka/annotation/RetryTopicConfigurationProvider.java index 9e7095278e..cdd72ae10e 100644 --- a/spring-kafka/src/main/java/org/springframework/kafka/annotati...
2
1
1
[{"id": "G0", "claim": "Add a note to `whats-new.adoc` documenting the retry-topic suffix behavior change, since users will somehow need to migrate any messages in the old retry topic.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Consider making...
null
spring-projects__spring-kafka__2888
spring-projects/spring-kafka
2,888
defect
b8686826e81f81e28089bc973dbc9b43a41e3ec2
ec7cde6eebed04547f2d7590585ee47714cfef28
GH-2588: ARBP support batch recoverable
Resolves #2588 This is a draft of support DLT batch recover for `DefaultAfterRollbackProcessor`. so we can evaluate if it's going in the right direction before doing a final review, adding docs, etc. Function * add opt-in property `batchRecoverAfterRollback` at `ContainerProperties` * add method processBatch at...
diff --git a/spring-kafka/src/main/java/org/springframework/kafka/listener/AfterRollbackProcessor.java b/spring-kafka/src/main/java/org/springframework/kafka/listener/AfterRollbackProcessor.java index e9aaf1da11..52757dc4d2 100644 --- a/spring-kafka/src/main/java/org/springframework/kafka/listener/AfterRollbackProcesso...
5
5
2
[{"id": "G0", "claim": "FailedBatchProcessor#fallbackBatchHandler is not implemented yet, so the change wires null for it in DefaultAfterRollbackProcessor's constructor.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The pull request cannot support ...
null
spring-projects__spring-kafka__2896
spring-projects/spring-kafka
2,896
defect
f7688743c3da4f206c0a37d138c4f5521a858d42
4d90f724583c0ce53cdda738e7bd70e6d1ece506
remove 'dead links' in javadocs
not 100% sure about some changes. There are roughly the following reasons of 'dead link's in javadocs: - previoulsy deprecated classes have been deleted (I provided the latest public javadoc link accessible; usually in v3.0.12) - outdated reference which should have been deleted when the referenced stuff had been r...
diff --git a/spring-kafka/src/main/java/org/springframework/kafka/annotation/RetryableTopic.java b/spring-kafka/src/main/java/org/springframework/kafka/annotation/RetryableTopic.java index 29ad9f486d..31ed10f824 100644 --- a/spring-kafka/src/main/java/org/springframework/kafka/annotation/RetryableTopic.java +++ b/sprin...
3
3
0
[{"id": "G0", "claim": "The setCommonErrorHandler javadocs should just stop after 'batch listeners.' instead of linking to versioned javadocs for the removed GenericErrorHandler class, since versioned Javadoc links go stale as versions are updated.", "category": "documentation", "verdict": "supported", "priority": "P2"...
null
spring-projects__spring-kafka__2897
spring-projects/spring-kafka
2,897
defect
f7688743c3da4f206c0a37d138c4f5521a858d42
e47fb3d44f71d782ca24f889dbf68ef380bd39f3
Fix Issues in DefaultKafkaProducerFactory#updateConfigs()
There are many defects in the original DefaultKafkaProducerFactory#updateConfigs() as below: ``` #1 public void updateConfigs(Map<String, Object> updates) { #2 updates.entrySet().forEach(entry -> { #3 if (entry.getKey().equals(ProducerConfig.TRANSACTIONAL_ID_CONFIG)) { #4 Assert.isTrue(entry.getValue() insta...
diff --git a/spring-kafka/src/main/java/org/springframework/kafka/core/DefaultKafkaProducerFactory.java b/spring-kafka/src/main/java/org/springframework/kafka/core/DefaultKafkaProducerFactory.java index aa66fac42d..45cd10f5a2 100644 --- a/spring-kafka/src/main/java/org/springframework/kafka/core/DefaultKafkaProducerFac...
2
2
0
[{"id": "G0", "claim": "Blank lines must not be inserted inside method javadocs; the project convention allows them only in class javadocs.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "It is not clear why the pull request needed all those form...
null
spring-projects__spring-kafka__2925
spring-projects/spring-kafka
2,925
defect
28e12dbf0246ca65ff836a02bfcf66b7990d28cb
ba2610a62a0097d213d28a4479622d0aef3df585
Gh-2924 Fix send null payload with KafkaTemplate#send(Message), and …
…JsonMessageConverter fixes: https://github.com/spring-projects/spring-kafka/issues/2924
diff --git a/spring-kafka/src/main/java/org/springframework/kafka/support/converter/ByteArrayJsonMessageConverter.java b/spring-kafka/src/main/java/org/springframework/kafka/support/converter/ByteArrayJsonMessageConverter.java index 6348495caf..cd0f357aed 100644 --- a/spring-kafka/src/main/java/org/springframework/kafk...
4
2
1
[{"id": "G0", "claim": "Add a unit test verifying the null-payload handling changes (or point to an existing test that exercises this code).", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Add the contributor's name to the @author list of all the affecte...
null
spring-projects__spring-kafka__2929
spring-projects/spring-kafka
2,929
defect
2306ac5cbd47702f9a492541186944682edada9c
c194f246604688767dab9d47ff09965826090a92
GH-2800: Make it possible to route messages to custom DLT based on exceptions thrown
This PR is related to #2800. It introduces changes making it easy for developers to route messages to different DLTs when the previously configured exception is thrown.
diff --git a/spring-kafka/src/main/java/org/springframework/kafka/annotation/RetryableTopic.java b/spring-kafka/src/main/java/org/springframework/kafka/annotation/RetryableTopic.java index 31ed10f824..d78d1fe820 100644 --- a/spring-kafka/src/main/java/org/springframework/kafka/annotation/RetryableTopic.java +++ b/sprin...
15
13
6
[{"id": "G0", "claim": "This sizable change should get documentation snippets in the reference docs (retrytopic pages).", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The change introduces breaking changes to the public API and cannot be accepted ...
null
spring-projects__spring-kafka__2931
spring-projects/spring-kafka
2,931
defect
2306ac5cbd47702f9a492541186944682edada9c
cf0245d49ec8975aa9a231f38fecfa0e1b984d83
GH-2927 Resolve subclasses of EmbeddedKafkaBroker in tests
Fixes #2927
diff --git a/spring-kafka-test/src/main/java/org/springframework/kafka/test/condition/EmbeddedKafkaCondition.java b/spring-kafka-test/src/main/java/org/springframework/kafka/test/condition/EmbeddedKafkaCondition.java index 706d84dc69..364fc691e4 100644 --- a/spring-kafka-test/src/main/java/org/springframework/kafka/tes...
1
1
1
[{"id": "G0", "claim": "The fix should be supplemented with a test, even if just a modification to the existing EmbeddedKafkaConditionTests where the broker method argument is changed to the EmbeddedKafkaZKBroker type.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
spring-projects__spring-kafka__2969
spring-projects/spring-kafka
2,969
defect
b1e76232afea8a30c5787e3d60d53d353f51bdf5
6186e472f71f9695e5853367f0b5b7268349f6cd
GH-2968 `DefaultErrorHandler#handleBatchAndReturnRemaining` recovered invalid
Resolves #2968 `DefaultErrorHandler#handleBatchAndReturnRemaining` recovered invalid and infinite loop when kafka listener threw BatchListenerFailedException and error record is first one in remaining list..
diff --git a/spring-kafka/src/main/java/org/springframework/kafka/listener/FailedBatchProcessor.java b/spring-kafka/src/main/java/org/springframework/kafka/listener/FailedBatchProcessor.java index 58f3d48d6d..56e0f6e20d 100644 --- a/spring-kafka/src/main/java/org/springframework/kafka/listener/FailedBatchProcessor.java...
2
1
0
[{"id": "G0", "claim": "The catch block this PR adds around getFailureTracker().recovered() is empty and silently swallows exceptions; the reviewer asks that this be addressed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The reviewer asks the...
null
spring-projects__spring-kafka__2970
spring-projects/spring-kafka
2,970
defect
b1e76232afea8a30c5787e3d60d53d353f51bdf5
08e86606cebaabe3921a914a8adbd25106f2ce8f
minor improvement error handler related
* remove `FailedRecordProcessor.retryListeners`, reuse FailureTracker's retryListeners * cleanup related to error handlers
diff --git a/spring-kafka/src/main/java/org/springframework/kafka/listener/DefaultAfterRollbackProcessor.java b/spring-kafka/src/main/java/org/springframework/kafka/listener/DefaultAfterRollbackProcessor.java index 4685e018dc..bef6a1c6ec 100644 --- a/spring-kafka/src/main/java/org/springframework/kafka/listener/Default...
1
1
0
[{"id": "G0", "claim": "getRetryListeners should not have been widened from package-private to protected, since the class itself is package-protected.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
spring-projects__spring-kafka__3021
spring-projects/spring-kafka
3,021
defect
74f6882e7dc52fb24270958038add89b75210676
a2bda98f7f885eaf388c5d5531cd392ecbd09fa6
GH-3011: Support enforced consumer rebalance
Fixes: #3011 Kafka consumer API supports an enforced rebalance. Provide an option via the message listener container to trigger this operation.
diff --git a/spring-kafka-docs/src/main/antora/modules/ROOT/nav.adoc b/spring-kafka-docs/src/main/antora/modules/ROOT/nav.adoc index 16f41dab0b..cc30cde98e 100644 --- a/spring-kafka-docs/src/main/antora/modules/ROOT/nav.adoc +++ b/spring-kafka-docs/src/main/antora/modules/ROOT/nav.adoc @@ -21,6 +21,7 @@ **** xref:kafk...
14
14
5
[{"id": "G0", "claim": "The documentation page misspells \"listner\"; it should read \"message listener container\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The comment in ConcurrentMessageListenerContainer.enforceRebalance() should be rewo...
null
spring-projects__spring-kafka__3058
spring-projects/spring-kafka
3,058
defect
c383b13f7e1df6a2f94cae3856d2a5fd3dd8f311
8c2ca8bd63b54d74bccf8bc100d61a46a9396dd1
Change @RetryableTopic properties SameIntervalTopicReuseStrategy behavior to SINGLE_TOPIC
Resolves https://github.com/spring-projects/spring-kafka/issues/3052 * Change @RetryableTopic properties SameIntervalTopicReuseStrategy behavior to SINGLE_TOPIC * Change unit test SameIntervalTopicReuseStrategy * Add doc
diff --git a/spring-kafka-docs/src/main/antora/modules/ROOT/pages/retrytopic/how-the-pattern-works.adoc b/spring-kafka-docs/src/main/antora/modules/ROOT/pages/retrytopic/how-the-pattern-works.adoc index 7db1f32f64..40abbd8659 100644 --- a/spring-kafka-docs/src/main/antora/modules/ROOT/pages/retrytopic/how-the-pattern-w...
4
2
0
[{"id": "G0", "claim": "TestOOMError#testOOMCMLC() throws a ConcurrentModificationException; the failure is the one tracked in issue #3059.", "category": "correctness", "verdict": "uncertain", "priority": "P0", "scope": "pre_existing"}, {"id": "G1", "claim": "A short sentence stating that the following code snippet cha...
null
spring-projects__spring-kafka__3080
spring-projects/spring-kafka
3,080
defect
cd4341ce89bfe794c9fd39c34e8fad0b80d4c8e2
45ba99d578b8ce371bb854041606f3b2bcad81e9
GH-3049: Listener exceptions are not saved to the observation.
* Embedded the (original) exception into the observation, allowing downstream tracing code to handle it. * Add unit test for observation Error and RuntimeException. Resolves #3049
diff --git a/spring-kafka/src/main/java/org/springframework/kafka/listener/KafkaMessageListenerContainer.java b/spring-kafka/src/main/java/org/springframework/kafka/listener/KafkaMessageListenerContainer.java index 2014c78406..fec87e8396 100644 --- a/spring-kafka/src/main/java/org/springframework/kafka/listener/KafkaMe...
2
2
1
[{"id": "G0", "claim": "The manual observation.start/stop restructuring is not what is needed; the existing try..catch should simply be pulled out around the observation.observe(...) call, as the maintainer sketched in M004.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id"...
null
spring-projects__spring-kafka__3082
spring-projects/spring-kafka
3,082
defect
cd4341ce89bfe794c9fd39c34e8fad0b80d4c8e2
64e7806932fc10cdce31731c93f0770aba1fbac9
GH-3076: Set `batchFailed` state in `ListenerConsumer` even if no `commonErrorHandler` is configured
This PR is naïve approach to solve #3076 (i am not sure about possible side effects/consequences of this change)
diff --git a/spring-kafka/src/main/java/org/springframework/kafka/listener/KafkaMessageListenerContainer.java b/spring-kafka/src/main/java/org/springframework/kafka/listener/KafkaMessageListenerContainer.java index 2014c78406..55d087b70e 100644 --- a/spring-kafka/src/main/java/org/springframework/kafka/listener/KafkaMe...
1
1
1
[{"id": "G0", "claim": "The PR should add a unit test covering the situation where `batchFailed` must be set even without a `commonErrorHandler` (GH-3076).", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
spring-projects__spring-kafka__3089
spring-projects/spring-kafka
3,089
defect
697d3c40ec473d2fd95cc6facb21fcbbfc06a94b
8f7165bc779bdafd090feb9953aa138f41a80531
GH-3034: IQ API's for remote state stores
Fixes: #3034 https://github.com/spring-projects/spring-kafka/issues/3034 * Kafka Streams interactive query API's for accessing remote state stores.
diff --git a/spring-kafka-docs/src/main/antora/modules/ROOT/pages/streams.adoc b/spring-kafka-docs/src/main/antora/modules/ROOT/pages/streams.adoc index fd68c121d8..4fbd3f84a2 100644 --- a/spring-kafka-docs/src/main/antora/modules/ROOT/pages/streams.adoc +++ b/spring-kafka-docs/src/main/antora/modules/ROOT/pages/stream...
3
3
1
[{"id": "G0", "claim": "The private helper should be renamed (e.g. to `populateKafkaStreams()`) instead of `primeKafkaStreamsObject()` — the `Object` suffix is unnecessary.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "`getCurrentKafkaStreamsAp...
null
spring-projects__spring-kafka__3099
spring-projects/spring-kafka
3,099
defect
265e55f6faa42886e7a4c2e0078f6b32da916ae7
25cd53ef6509f441a7885fd919cfa22018b0d8dc
GH-3078: Compute Seek Position from Current Offset
Fixes: #3078 * Provide a new API method in `ConsumerSeekCallback` to seek to an offset based on the current offset. This is accomplished by a user-defined function where the user can make decision on the offset to seek to based on the current offset which is available via the function's input. * Adding tests, doc...
diff --git a/spring-kafka-docs/src/main/antora/modules/ROOT/pages/kafka/seek.adoc b/spring-kafka-docs/src/main/antora/modules/ROOT/pages/kafka/seek.adoc index 243521445d..c68d3154e1 100644 --- a/spring-kafka-docs/src/main/antora/modules/ROOT/pages/kafka/seek.adoc +++ b/spring-kafka-docs/src/main/antora/modules/ROOT/pag...
2
2
0
[{"id": "G0", "claim": "The version number `3.2` in the seek documentation should not be formatted as inline code, per the project's preference against making version numbers code.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The trailing slash ...
null
spring-projects__spring-kafka__3107
spring-projects/spring-kafka
3,107
defect
e3abc0e98fc5d287029f2de03e66a90803f3efa7
f65b65c80575b1b955462ab9b01d5cef780993ee
@RetryableTopic support @KafkaListener annotated on class part 1
* `@RetryableTopic` support annotated on Class. * Support process `@RetryableTopic` from Class in `RetryTopicConfigurationProvider`. * Support process `@DltHandler` when `@RetryableTopic` annotated on the Class in `RetryableTopicAnnotationProcessor`. part of #3105 <!-- Thanks for contributing to Spring for Apa...
diff --git a/spring-kafka/src/main/java/org/springframework/kafka/annotation/RetryTopicConfigurationProvider.java b/spring-kafka/src/main/java/org/springframework/kafka/annotation/RetryTopicConfigurationProvider.java index 230c41c61d..63e603e4d9 100644 --- a/spring-kafka/src/main/java/org/springframework/kafka/annotati...
1
1
1
[{"id": "G0", "claim": "The new four-argument findRetryConfigurationFor overload does not need to be public; if exposing it is valid, add the @since tag and a note in whats-new since it is new public API.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
spring-projects__spring-kafka__3109
spring-projects/spring-kafka
3,109
defect
8355162d2db982e9c04154bd62e7de019c4c2dc0
deb04676df02982a1942e893e1ae88cdfea4ebc4
GH-3108: Unsafe access to consumer in seek API
Fixes: #3108 * When the seek API that uses the user-provided function to compute the offset to seek, there is a concurrency issue in which the Kafka consumer is used unsafely. See this for details: https://github.com/spring-projects/spring-kafka/issues/3078#issuecomment-1983759811
diff --git a/spring-kafka-docs/src/main/antora/modules/ROOT/pages/whats-new.adoc b/spring-kafka-docs/src/main/antora/modules/ROOT/pages/whats-new.adoc index 56d6394f70..743b59c640 100644 --- a/spring-kafka-docs/src/main/antora/modules/ROOT/pages/whats-new.adoc +++ b/spring-kafka-docs/src/main/antora/modules/ROOT/pages/...
1
1
0
[{"id": "G0", "claim": "The getOffsetComputeFunction getter should return `this.offsetComputeFunction` instead of `offsetComputeFunction`, matching the codebase's `this.` prefix convention used in the surrounding getters.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}]
null
spring-projects__spring-kafka__3112
spring-projects/spring-kafka
3,112
defect
a41c03afd0b8914a4dcd4be695fc79cee2a6e212
a1f818e50d8691e86fd505022dafc0895e68c7a9
@RetryableTopic support KL annotated on class part 2
* `EndpointCustomizerFactory` adaptor `MultiMethodKafkaListenerEndpoint`. * `RetryTopicConfigurer.processAndRegisterEndpoint` support `@KafkaListener` on a class. * Add new class `EndpointHandlerMultiMethod` to handler multi method for retrying endpoints. part2 of #3105 and this contributes to fixing https://githu...
diff --git a/spring-kafka/src/main/java/org/springframework/kafka/config/MultiMethodKafkaListenerEndpoint.java b/spring-kafka/src/main/java/org/springframework/kafka/config/MultiMethodKafkaListenerEndpoint.java index 577a90eb49..f06ea580ae 100644 --- a/spring-kafka/src/main/java/org/springframework/kafka/config/MultiMe...
5
5
1
[{"id": "G0", "claim": "The new public methods (getMethods/setMethods/getDefaultMethod/setDefaultMethod) added to MultiMethodKafkaListenerEndpoint should be briefly mentioned in whats-new.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Modifying t...
null
spring-projects__spring-kafka__3115
spring-projects/spring-kafka
3,115
defect
ab5f0a1621929db3736ac7517a956e9f07d2583f
a7690ab8530aa584b6c68c071afe3f6a865cd0b5
GH-3114: DeserializationException propagation
Fixes: #3114 * Since DeserializationExceptionHeader is currently porpagated as a `byte[]`, it encounters some issues when processing the header especially in batch listeners. Fixing this by providing the deserialization header without `byte[]` conversion * Adding test to verify * Refactoring in SerializationTestUt...
diff --git a/spring-kafka/src/main/java/org/springframework/kafka/support/DefaultKafkaHeaderMapper.java b/spring-kafka/src/main/java/org/springframework/kafka/support/DefaultKafkaHeaderMapper.java index 586af3f0f4..6ddbae1855 100644 --- a/spring-kafka/src/main/java/org/springframework/kafka/support/DefaultKafkaHeaderMa...
2
2
2
[{"id": "G0", "claim": "There must be no package tangle: DefaultKafkaHeaderMapper in org.springframework.kafka.support should not import SerializationUtils from the sub-package org.springframework.kafka.support.serializer, since sub-packages usually use their parents.", "category": "design", "verdict": "supported", "pr...
null