You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by "arhoads (via GitHub)" <gi...@apache.org> on 2026/02/04 00:47:54 UTC
[PR] Fix use of deprecated Boost Asio API [pulsar-client-cpp]
arhoads opened a new pull request, #535:
URL: https://github.com/apache/pulsar-client-cpp/pull/535
<!--
### Contribution Checklist
- PR title format should be *[type][component] summary*. For details, see *[Guideline - Pulsar PR Naming Convention](https://docs.google.com/document/d/1d8Pw6ZbWk-_pCKdOmdvx9rnhPiyuxwq60_TrD68d7BA/edit#heading=h.trs9rsex3xom)*.
- Fill out the template below to describe the changes contributed by the pull request. That will give reviewers the context they need to do the review.
- Each pull request should address only one issue, not mix up code from multiple issues.
- Each commit in the pull request has a meaningful commit message
- Once all items of the checklist are addressed, remove the above text and this checklist, leaving only the filled out template below.
-->
<!-- Either this PR fixes an issue, -->
Fixes # N/A
<!-- or this PR is one task of an issue -->
Master Issue: # N/A
### Motivation
<!-- Explain here the context, and why you're making that change. What is the problem you're trying to solve. -->
When using Boost 1.88 I get a compile error in MockServer.h.
### Modifications
<!-- Describe the modifications you've done. -->
`expires_from_now` is deprecated and it is now recommended to `use expires_after`. This was fixed in all other places in https://github.com/apache/pulsar-client-cpp/pull/477, but MockServer was missed.
### Verifying this change
- [X] Make sure that the change passes the CI checks.
This change is a trivial rework / code cleanup without any test coverage.
### Documentation
<!-- DO NOT REMOVE THIS SECTION. CHECK THE PROPER BOX ONLY. -->
- [ ] `doc-required`
(Your PR needs to update docs and you will update later)
- [X] `doc-not-needed`
Compile fix
- [ ] `doc`
(Your PR contains doc changes)
- [ ] `doc-complete`
(Docs have been already added)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Fix use of deprecated Boost Asio API [pulsar-client-cpp]
Posted by "BewareMyPower (via GitHub)" <gi...@apache.org>.
BewareMyPower merged PR #535:
URL: https://github.com/apache/pulsar-client-cpp/pull/535
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org