kafka_neu-1778570057504.zip-extract/kafka-4.2.0-src/docker/native/native_command.sh

Path
kafka_neu-1778570057504.zip-extract/kafka-4.2.0-src/docker/native/native_command.sh
Status
scanned
Type
file
Name
native_command.sh
Extension
.sh
Programming language
Bash
Mime type
text/x-shellscript
File type
Bourne-Again shell script, ASCII text executable
Tag

      
    
Rootfs path

      
    
Size
2048 (2.0 KB)
MD5
0c0ae8c452aa278d07a9adcf81b48710
SHA1
dbc6a1365c0530f5a526a2cff12c8a71976da76a
SHA256
219cc820d6b46bdf970d66a31369886ce03802473b37b1be7a6ad0f722ee9e1a
SHA512

      
    
SHA1_git
6d2ef5efa5cbc90f23ea825a63358949b5c52c68
Is binary

      
    
Is text
True
Is archive

      
    
Is media

      
    
Is legal

      
    
Is manifest

      
    
Is readme

      
    
Is top level

      
    
Is key file

      
    
native_command.sh | 2.0 KB |

#!/usr/bin/env bash # 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. # $1 - The path of the GraalVM native-image. This binary is used to compile Java applications ahead-of-time into a standalone native binary. # $2 - The path of the directory that contains the native-image configuration files. # $3 - The path of the directory that contains the Apache Kafka libs. # $4 - The path of the resulting Kafka native binary after the build process. $1 --no-fallback \ --enable-http \ --enable-https \ --allow-incomplete-classpath \ --report-unsupported-elements-at-runtime \ --install-exit-handlers \ --enable-monitoring=jmxserver,jmxclient,heapdump,jvmstat \ -H:+ReportExceptionStackTraces \ -H:+EnableAllSecurityServices \ -H:EnableURLProtocols=http,https \ -H:AdditionalSecurityProviders=sun.security.jgss.SunProvider \ -H:ReflectionConfigurationFiles="$2"/reflect-config.json \ -H:JNIConfigurationFiles="$2"/jni-config.json \ -H:ResourceConfigurationFiles="$2"/resource-config.json \ -H:SerializationConfigurationFiles="$2"/serialization-config.json \ -H:PredefinedClassesConfigurationFiles="$2"/predefined-classes-config.json \ -H:DynamicProxyConfigurationFiles="$2"/proxy-config.json \ --verbose \ -march=compatibility \ -cp "$3/*" kafka.docker.KafkaDockerWrapper \ -o "$4"
Detected license expression
apache-2.0
Detected license expression (SPDX)
Apache-2.0
Percentage of license text
44.24
Copyrights

      
    
Holders

      
    
Authors

      
    
License detections License expression License expression SPDX
apache_2_0-4bde3f57-78aa-4201-96bf-531cba09e7de apache-2.0 Apache-2.0
URL Start line End line
http://www.apache.org/licenses/LICENSE-2.0 10 10