A Spring Boot service must comply with CCPA and allow users to request deletion of their data. Which Spring Data feature simplifies implementing a 'right to be forgotten' endpoint?
-
A
CrudRepository.deleteById() exposed directly via REST
-
B
Spring Data REST's DELETE endpoint with @RepositoryRestResource
-
C
A custom service method calling repository delete operations wrapped in a saga pattern
-
D
Spring Batch job triggered per deletion request