Skip to content

Commit 8a60d61

Browse files
committed
Better documentation for deprecated method
1 parent 89eb658 commit 8a60d61

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

cloudfoundry-client/src/main/java/org/cloudfoundry/doppler/DopplerClient.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,15 @@ public interface DopplerClient {
3939
*/
4040
Flux<Envelope> firehose(FirehoseRequest request);
4141

42-
// TODO Adapt the message
4342
/**
4443
* Makes the <a href="https://github.com/cloudfoundry/loggregator/tree/develop/src/trafficcontroller#endpoints">Recent Logs</a> request
4544
*
46-
* @deprecated Do not use this type directly, it exists only for the <em>Jackson</em>-binding infrastructure
4745
* @param request the Recent Logs request
4846
* @return the events from the recent logs
47+
* @deprecated Use {@link org.cloudfoundry.logcache.v1.LogCacheClient#recentLogs(org.cloudfoundry.logcache.v1.ReadRequest)} instead.
48+
* The Doppler recent logs endpoint has been removed since {@code Loggregator 107.0},
49+
* shipped in {@code CFD 24.3}.
50+
* @see org.cloudfoundry.logcache.v1.LogCacheClient#recentLogs(org.cloudfoundry.logcache.v1.ReadRequest)
4951
*/
5052
@Deprecated
5153
Flux<Envelope> recentLogs(RecentLogsRequest request);

0 commit comments

Comments
 (0)