codelipenghui commented on a change in pull request #4117: [pulsar-clients]Store key part of a KeyValue schema into pulsar message keys URL: https://github.com/apache/pulsar/pull/4117#discussion_r279354619
########## File path: pulsar-client/src/test/java/org/apache/pulsar/client/impl/MessageImplTest.java ########## @@ -18,13 +18,21 @@ */ package org.apache.pulsar.client.impl; -import static org.testng.Assert.assertEquals; -import static org.testng.Assert.assertNull; - import java.nio.ByteBuffer; +import java.util.Base64; +import java.util.Map; + import org.apache.pulsar.client.api.Schema; +import org.apache.pulsar.client.api.schema.SchemaDefinition; +import org.apache.pulsar.client.impl.schema.AvroSchema; +import org.apache.pulsar.client.impl.schema.SchemaTestUtils; import org.apache.pulsar.common.api.proto.PulsarApi.MessageMetadata; +import org.apache.pulsar.common.schema.KeyValue; +import org.apache.pulsar.common.schema.KeyValueEncodingType; import org.testng.annotations.Test; +import org.testng.collections.Maps; + +import static org.testng.Assert.*; Review comment: Try to avoid using import .* ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
