-
Notifications
You must be signed in to change notification settings - Fork 2k
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
drop rxjava and completableFuture api #24326
drop rxjava and completableFuture api #24326
Conversation
/azp run java - spring - tests |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run java - spring - tests |
Azure Pipelines successfully started running 1 pipeline(s). |
@@ -60,13 +60,17 @@ protected void internalSubscribe(String name, Consumer<Message<?>> consumer, Cla | |||
this.checkpointConfig, payloadType, consumer, this.messageConverter) { | |||
|
|||
@Override | |||
protected String buildCheckpointFailMessage(Message<?> message) { | |||
return String.format(MSG_FAIL_CHECKPOINT, message, name); | |||
protected void buildCheckpointFailMessage(Message<?> message, Throwable t) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If this method is used to log information, should we change the method names accordingly?
} | ||
|
||
@Override | ||
protected String buildCheckpointSuccessMessage(Message<?> message) { | ||
return String.format(MSG_SUCCESS_CHECKPOINT, message, name, getCheckpointConfig().getCheckpointMode()); | ||
protected void buildCheckpointSuccessMessage(Message<?> message) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same here
@@ -98,14 +98,18 @@ protected void internalSubscribe(String name, | |||
final DefaultServiceBusMessageProcessor messageProcessor = new DefaultServiceBusMessageProcessor( | |||
this.checkpointConfig, payloadType, consumer, this.messageConverter) { | |||
@Override | |||
protected String buildCheckpointFailMessage(Message<?> message) { | |||
return String.format(MSG_FAIL_CHECKPOINT, consumer, name, message); | |||
protected void buildCheckpointFailMessage(Message<?> message, Throwable t) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same here
protected String buildCheckpointSuccessMessage(Message<?> message) { | ||
return String.format(MSG_SUCCESS_CHECKPOINT, consumer, name, message, | ||
getCheckpointConfig().getCheckpointMode()); | ||
protected void buildCheckpointSuccessMessage(Message<?> message) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same here
/azp run java - spring - tests |
Azure Pipelines successfully started running 1 pipeline(s). |
@@ -1,7 +1,7 @@ | |||
// Copyright (c) Microsoft Corporation. All rights reserved. | |||
// Licensed under the MIT License. | |||
|
|||
package com.azure.spring.servicebus.core; | |||
package com.azure.spring.servicebus.resourcemanager; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How about we name this package as xxx.provisioning, Just like org.springframework.cloud.stream.provisioning.ProvisioningProvider?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good idea!
/azp run java - spring - tests |
Azure Pipelines successfully started running 1 pipeline(s). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
[TypeSpec] Upgrade to 0.45.0 (Azure#24326)
This pr is to drop rxjava and CompletableFuture support in spring cloud for azure messaging modules.