You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2021/09/08 04:46:23 UTC

[GitHub] [pulsar] BewareMyPower commented on pull request #11960: [PIP-63] Readonly-Topic-Ownership-Support

BewareMyPower commented on pull request #11960:
URL: https://github.com/apache/pulsar/pull/11960#issuecomment-914908483


   You can apply following diff to fix C++ client build failure.
   
   ```diff
   diff --git a/pulsar-client-cpp/lib/Commands.cc b/pulsar-client-cpp/lib/Commands.cc
   index 87c149c5b87..760549aaa31 100644
   --- a/pulsar-client-cpp/lib/Commands.cc
   +++ b/pulsar-client-cpp/lib/Commands.cc
   @@ -642,6 +642,18 @@ std::string Commands::messageType(BaseCommand_Type type) {
            case BaseCommand::END_TXN_ON_SUBSCRIPTION_RESPONSE:
                return "END_TXN_ON_SUBSCRIPTION_RESPONSE";
                break;
   +        case BaseCommand::GET_CURSOR:
   +            return "GET_CURSOR";
   +        case BaseCommand::GET_CURSOR_RESPONSE:
   +            return "GET_CURSOR_RESPONSE";
   +        case BaseCommand::CREATE_CURSOR:
   +            return "CREATE_CURSOR";
   +        case BaseCommand::CREATE_CURSOR_RESPONSE:
   +            return "CREATE_CURSOR_RESPONSE";
   +        case BaseCommand::DELETE_CURSOR:
   +            return "DELETE_CURSOR";
   +        case BaseCommand::UPDATE_CURSOR:
   +            return "UPDATE_CURSOR";
        };
        BOOST_THROW_EXCEPTION(std::logic_error("Invalid BaseCommand enumeration value"));
    }
   ```


-- 
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