Reuse Jetty server between unit test class.

2023-03-11 Thread adobewjl
I found some unit cost a lot time on setup and teardown jetty servlet server. if we can reuse servlet server make it stateless. may be we can save a lot developer time. eg. In UT `org.apache.pulsar.broker.admin.TopicPoliciesTest` there are 80 test case. each set && tearDown will cost 6 second

Re: [DISCUSS] PIP-246: Improved PROTOBUF_NATIVE schema compatibility checks without using avro-protobuf

2023-03-11 Thread SiNan Liu
*I guess that's right, too! * But the name `ProtobufNativeAdvancedSchemaCompatibilityCheck` is better, because we don't know whether the future will have V2, V3. The official solution can be called `ProtobufNativeOfficialSchemaCompatibilityCheck`, or is a good `ProtobufNativeSchemaCompatib