Skip to content

Commit

Permalink
[INLONG-9870][Manager] Pulsar DataNode support to set compression type (
Browse files Browse the repository at this point in the history
#9959)

Co-authored-by: castorqin <[email protected]>
  • Loading branch information
castorqin and castorqin authored Apr 11, 2024
1 parent 24bdfc1 commit 90890c2
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@ public class PulsarDataNodeDTO {
@ApiModelProperty(value = "Pulsar token")
private String token;

@ApiModelProperty("The compression format used for pulsar producer")
private String compressionType;

/**
* Get the dto instance from the request
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@ public class PulsarDataNodeInfo extends DataNodeInfo {
@ApiModelProperty("Pulsar admin url")
private String adminUrl;

@ApiModelProperty("The compression format used for pulsar producer")
private String compressionType;

public PulsarDataNodeInfo() {
this.setType(DataNodeType.PULSAR);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ public class PulsarDataNodeRequest extends DataNodeRequest {
@ApiModelProperty("Pulsar admin url")
private String adminUrl;

@ApiModelProperty("The compression format used for pulsar producer")
private String compressionType;

public PulsarDataNodeRequest() {
this.setType(DataNodeType.PULSAR);
}
Expand Down

0 comments on commit 90890c2

Please sign in to comment.