syhily commented on a change in pull request #17271:
URL: https://github.com/apache/flink/pull/17271#discussion_r708459388



##########
File path: 
flink-end-to-end-tests/flink-end-to-end-tests-pulsar/src/test/java/org/apache/flink/tests/util/pulsar/PulsarSourceOrderedE2ECase.java
##########
@@ -0,0 +1,129 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.flink.tests.util.pulsar;
+
+import org.apache.flink.connector.pulsar.testutils.PulsarTestContextFactory;
+import org.apache.flink.connector.pulsar.testutils.PulsarTestEnvironment;
+import 
org.apache.flink.connector.pulsar.testutils.cases.MultipleTopicTemplateContext;
+import 
org.apache.flink.connectors.test.common.junit.annotations.ExternalContextFactory;
+import 
org.apache.flink.connectors.test.common.junit.annotations.ExternalSystem;
+import org.apache.flink.connectors.test.common.junit.annotations.TestEnv;
+import org.apache.flink.connectors.test.common.testsuites.SourceTestSuiteBase;
+
+import org.apache.pulsar.client.api.SubscriptionType;
+
+import static 
org.apache.flink.connector.pulsar.testutils.runtime.PulsarRuntime.container;
+import static 
org.apache.flink.connector.pulsar.testutils.runtime.container.PulsarContainerRuntime.PULSAR_ADMIN_URL;
+import static 
org.apache.flink.connector.pulsar.testutils.runtime.container.PulsarContainerRuntime.PULSAR_SERVICE_URL;
+
+/**
+ * Pulsar E2E test based on connector testing framework. It's used for 
Failover & Exclusive
+ * subscription.
+ */
+public class PulsarSourceOrderedE2ECase extends SourceTestSuiteBase<String> {

Review comment:
       Oh, I see. I think the reason is that under Java 11, Netty will allocate 
memory from the pool of Java Direct Memory and is affected by the 
MaxDirectMemory limit. Under Java 8, it allocates native memory and is not 
affected by that setting. We may need time to fix this error on the Pulsar 
side, there is [an issue](https://github.com/apache/pulsar/issues/9721) about 
this.
   
   Since Flink is still running under Java 8, can we skip these tests under 
Java 11?




-- 
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: issues-unsubscr...@flink.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to