merlimat commented on a change in pull request #2024: Forward encryption properties with encrypted payload to consumer URL: https://github.com/apache/incubator-pulsar/pull/2024#discussion_r197924321
########## File path: pulsar-broker/src/test/java/org/apache/pulsar/client/api/SimpleProducerConsumerTest.java ########## @@ -54,10 +55,22 @@ import org.apache.pulsar.broker.service.persistent.PersistentTopic; import org.apache.pulsar.client.api.PulsarClientException.InvalidConfigurationException; import org.apache.pulsar.client.impl.ConsumerImpl; +import org.apache.pulsar.client.impl.EncryptionProperties; +import org.apache.pulsar.client.impl.MessageCrypto; import org.apache.pulsar.client.impl.MessageIdImpl; +import org.apache.pulsar.client.impl.MessageImpl; +import org.apache.pulsar.common.api.Commands; import org.apache.pulsar.common.api.PulsarDecoder; +import org.apache.pulsar.common.api.proto.PulsarApi; +import org.apache.pulsar.common.api.proto.PulsarApi.EncryptionKeys; +import org.apache.pulsar.common.api.proto.PulsarApi.MessageMetadata; +import org.apache.pulsar.common.api.proto.PulsarApi.MessageMetadata.Builder; +import org.apache.pulsar.common.compression.CompressionCodec; +import org.apache.pulsar.common.compression.CompressionCodecProvider; import org.apache.pulsar.common.naming.TopicName; import org.apache.pulsar.common.util.FutureUtil; +import org.apache.pulsar.shaded.com.google.protobuf.v241.ByteString; +import org.inferred.freebuilder.shaded.com.google.common.collect.Maps; Review comment: Shaded import ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
