JNSimba commented on code in PR #66409:
URL: https://github.com/apache/doris/pull/66409#discussion_r3802752070


##########
fs_brokers/cdc_client/src/main/java/org/apache/doris/cdcclient/controller/ClientController.java:
##########
@@ -103,12 +105,13 @@ public Object writeRecord(@RequestBody WriteRecordRequest 
recordReq) {
 
     /** Fetch lastest end meta */
     @RequestMapping(path = "/api/fetchEndOffset", method = RequestMethod.POST)
-    public Object fetchEndOffset(@RequestBody JobBaseConfig jobConfig) {
+    public Object fetchEndOffset(@RequestBody FetchEndOffsetRequest jobConfig) 
{
         LOG.info("Fetching end offset for job {}", jobConfig.getJobId());
         try {
             SourceReader reader = Env.getCurrentEnv().getMetaReader(jobConfig);
             Env.getCurrentEnv().keepAlive(jobConfig.getJobId());
-            return RestResponse.success(reader.getEndOffset(jobConfig));
+            FetchEndOffsetResult result = reader.fetchEndOffset(jobConfig);
+            return RestResponse.success(result);

Review Comment:
   Ignoring this situation



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to