-
Notifications
You must be signed in to change notification settings - Fork 99
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add javadocs, revert to use profile.json
- Loading branch information
1 parent
129ddcc
commit c985826
Showing
6 changed files
with
160 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
42 changes: 42 additions & 0 deletions
42
...om/snowflake/kafka/connector/internal/streaming/ChannelMigrateOffsetTokenResponseDTO.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
package com.snowflake.kafka.connector.internal.streaming; | ||
|
||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
|
||
/** | ||
* POJO used to serialize the System function response for migration offset from Source Channel to | ||
* Destination. | ||
*/ | ||
public class ChannelMigrateOffsetTokenResponseDTO { | ||
private long responseCode; | ||
|
||
private String responseMessage; | ||
|
||
public ChannelMigrateOffsetTokenResponseDTO(long responseCode, String responseMessage) { | ||
this.responseCode = responseCode; | ||
this.responseMessage = responseMessage; | ||
} | ||
|
||
/** Default Ctor for Jackson */ | ||
public ChannelMigrateOffsetTokenResponseDTO() {} | ||
|
||
@JsonProperty("responseCode") | ||
public long getResponseCode() { | ||
return responseCode; | ||
} | ||
|
||
@JsonProperty("responseMessage") | ||
public String getResponseMessage() { | ||
return responseMessage; | ||
} | ||
|
||
@Override | ||
public String toString() { | ||
return "ChannelMigrateOffsetTokenResponseDTO{" | ||
+ "responseCode=" | ||
+ responseCode | ||
+ ", responseMessage='" | ||
+ responseMessage | ||
+ '\'' | ||
+ '}'; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters