mirror of https://github.com/apache/kafka.git
				
				
				
			
		
			
				
	
	
		
			44 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			XML
		
	
	
	
			
		
		
	
	
			44 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			XML
		
	
	
	
| <!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">
 | |
|     <!-- no one depends on the server -->
 | |
|     <disallow pkg="kafka" />
 | |
| 
 | |
|     <!-- anyone can use public classes -->
 | |
|     <allow pkg="org.apache.kafka.common" exact-match="true" />
 | |
|     <allow pkg="org.apache.kafka.common.security" />
 | |
|     <allow pkg="org.apache.kafka.common.serialization" />
 | |
|     <allow pkg="org.apache.kafka.common.utils" />
 | |
|     <allow pkg="org.apache.kafka.common.errors" exact-match="true" />
 | |
|     <allow pkg="org.apache.kafka.common.memory" />
 | |
|     <allow pkg="org.apache.kafka.common.network" />
 | |
|     <allow pkg="org.apache.kafka.common.test" />
 | |
| 
 | |
|     <!-- things from server-common -->
 | |
|     <allow pkg="org.apache.kafka.server.common" />
 | |
| 
 | |
|     <allow pkg="java" />
 | |
|     <allow pkg="javax.security" />
 | |
|     <allow pkg="org.junit" />
 | |
|     <allow pkg="org.slf4j" />
 | |
| 
 | |
| </import-control>
 |