2024-06-14 23:26:00 +08:00
|
|
|
<!DOCTYPE import-control PUBLIC
|
|
|
|
"-//Puppy Crawl//DTD Import Control 1.1//EN"
|
|
|
|
"http://www.puppycrawl.com/dtds/import_control_1_1.dtd">
|
|
|
|
<!--
|
|
|
|
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.
|
|
|
|
-->
|
|
|
|
|
|
|
|
<import-control pkg="org.apache.kafka">
|
|
|
|
|
|
|
|
<!-- THINK HARD ABOUT THE LAYERING OF THE PROJECT BEFORE CHANGING THIS FILE -->
|
|
|
|
|
|
|
|
<!-- common library dependencies -->
|
|
|
|
<allow pkg="java" />
|
2024-10-12 09:42:54 +08:00
|
|
|
<allow pkg="org.junit" />
|
|
|
|
<allow pkg="org.mockito" />
|
2024-06-14 23:26:00 +08:00
|
|
|
<!-- no one depends on the server -->
|
|
|
|
<disallow pkg="kafka" />
|
|
|
|
|
|
|
|
<!-- anyone can use public classes -->
|
2024-07-25 00:42:25 +08:00
|
|
|
<subpackage name="coordinator">
|
|
|
|
<subpackage name="transaction">
|
2024-10-31 02:40:47 +08:00
|
|
|
<allow pkg="org.apache.kafka.server.common" />
|
|
|
|
<allow pkg="org.apache.kafka.clients" />
|
2024-12-20 04:39:09 +08:00
|
|
|
<allow pkg="org.apache.kafka.coordinator.common.runtime" />
|
2024-10-31 02:40:47 +08:00
|
|
|
<allow pkg="org.apache.kafka.coordinator.transaction" />
|
|
|
|
<allow pkg="org.apache.kafka.common" />
|
2025-01-24 22:03:43 +08:00
|
|
|
<allow pkg="org.apache.kafka.common.test.api" />
|
2025-06-22 22:47:40 +08:00
|
|
|
<allow pkg="org.apache.kafka.test" />
|
2024-10-31 02:40:47 +08:00
|
|
|
<allow pkg="org.slf4j" />
|
2025-09-15 11:25:54 +08:00
|
|
|
<allow pkg="kafka.coordinator.transaction" />
|
2024-07-25 00:42:25 +08:00
|
|
|
<subpackage name="generated">
|
|
|
|
<allow pkg="org.apache.kafka.common.protocol" />
|
|
|
|
<allow pkg="org.apache.kafka.common.errors" />
|
|
|
|
<allow pkg="org.apache.kafka.coordinator.transaction.generated" />
|
|
|
|
<allow pkg="org.apache.kafka.common.utils" />
|
|
|
|
<allow pkg="com.fasterxml.jackson" />
|
|
|
|
</subpackage>
|
|
|
|
</subpackage>
|
|
|
|
</subpackage>
|
2024-06-14 23:26:00 +08:00
|
|
|
</import-control>
|