Skip to content

Commit bab7ba2

Browse files
committed
fix code
1 parent dc69462 commit bab7ba2

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

rocketmq-broker/src/processor/ack_message_processor.rs

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,20 @@
1414
* See the License for the specific language governing permissions and
1515
* limitations under the License.
1616
*/
17+
use rocketmq_remoting::code::request_code::RequestCode;
18+
use rocketmq_remoting::net::channel::Channel;
1719
use rocketmq_remoting::protocol::remoting_command::RemotingCommand;
1820
use rocketmq_remoting::runtime::connection_handler_context::ConnectionHandlerContext;
1921

2022
#[derive(Default)]
2123
pub struct AckMessageProcessor {}
2224

2325
impl AckMessageProcessor {
24-
fn process_request(
25-
&self,
26+
pub async fn process_request(
27+
&mut self,
28+
_channel: Channel,
2629
_ctx: ConnectionHandlerContext,
30+
_request_code: RequestCode,
2731
_request: RemotingCommand,
2832
) -> crate::Result<Option<RemotingCommand>> {
2933
unimplemented!("AckMessageProcessor process_request")

0 commit comments

Comments
 (0)