Skip to content

Remove initialSubscriptionName from sender properties #215

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 17, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -527,11 +527,6 @@ public static class Producer {
*/
private CompressionType compressionType;

/**
* Name of the initial subscription of the topic.
*/
private String initialSubscriptionName;

/**
* Type of access to the topic the producer requires.
*/
Expand Down Expand Up @@ -651,14 +646,6 @@ public void setCompressionType(CompressionType compressionType) {
this.compressionType = compressionType;
}

public String getInitialSubscriptionName() {
return this.initialSubscriptionName;
}

public void setInitialSubscriptionName(String initialSubscriptionName) {
this.initialSubscriptionName = initialSubscriptionName;
}

public ProducerAccessMode getProducerAccessMode() {
return this.producerAccessMode;
}
Expand Down Expand Up @@ -692,7 +679,6 @@ public Map<String, Object> buildProperties() {
map.from(this::isBatchingEnabled).to(properties.in("batchingEnabled"));
map.from(this::isChunkingEnabled).to(properties.in("chunkingEnabled"));
map.from(this::getCompressionType).to(properties.in("compressionType"));
map.from(this::getInitialSubscriptionName).to(properties.in("initialSubscriptionName"));
map.from(this::getProducerAccessMode).to(properties.in("accessMode"));

return properties;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -166,11 +166,6 @@ public static class Sender {
*/
private CompressionType compressionType;

/**
* Name of the initial subscription of the topic.
*/
private String initialSubscriptionName;

/**
* Type of access to the topic the producer requires.
*/
Expand Down Expand Up @@ -282,14 +277,6 @@ public void setCompressionType(CompressionType compressionType) {
this.compressionType = compressionType;
}

public String getInitialSubscriptionName() {
return this.initialSubscriptionName;
}

public void setInitialSubscriptionName(String initialSubscriptionName) {
this.initialSubscriptionName = initialSubscriptionName;
}

public ProducerAccessMode getProducerAccessMode() {
return this.producerAccessMode;
}
Expand Down Expand Up @@ -320,7 +307,6 @@ public ReactiveMessageSenderSpec buildReactiveMessageSenderSpec() {
map.from(this::getBatchingEnabled).to(spec::setBatchingEnabled);
map.from(this::getChunkingEnabled).to(spec::setChunkingEnabled);
map.from(this::getCompressionType).to(spec::setCompressionType);
map.from(this::getInitialSubscriptionName).to(spec::setInitialSubscriptionName);
map.from(this::getProducerAccessMode).to(spec::setAccessMode);

return new ImmutableReactiveMessageSenderSpec(spec);
Expand Down