# linkis | The Apache Software Foundation | Knowledge Base | Instagit

Apache Linkis builds a computation middleware layer to facilitate connection, governance and orchestration between the upper applications and the underlying data engines.

GitHub Stars: 3.4k

Repository: https://github.com/apache/linkis

---

## Articles

### [Configuring Spring Cloud Gateway Filters for High-Availability Routing in Apache Linkis](/apache/linkis/best-practices-for-configuring-linkis-spring-cloud-gateway-filters-for-high-availability)

Learn to configure Spring Cloud Gateway filters for high-availability routing in Apache Linkis. Implement token validation, IP priority load balancing, and Eureka health checks for robust routing.

- Tags: best-practices
- Published: 2026-02-25

### [How Linkis ContextService Manages Unified Variables and UDFs Across Engine Types](/apache/linkis/how-does-linkis-contextservice-manage-variables-and-udfs-across-engine-types)

Discover how Linkis ContextService unifies variables and UDFs across engines. Learn about its key-value store, ContextType discrimination, MySQL storage, and in-memory caching for seamless cross-engine sharing.

- Tags: deep-dive
- Published: 2026-02-25

### [Linkis KerberosUtils Implementation for Hadoop Secure Authentication: Configuration and Usage Guide](/apache/linkis/what-is-linkis-kerberosutils-implementation-for-hadoop-secure-authentication-and-how-to-configure)

Learn about the Linkis KerberosUtils implementation for secure Hadoop authentication. This guide covers configuration and usage of keytab-based login and ticket refresh with HadoopConf.

- Tags: how-to-guide
- Published: 2026-02-25

### [How to Implement Custom Error Code Handlers Using LinkisErrorCode Interfaces for Engine-Specific Exceptions](/apache/linkis/how-to-implement-custom-error-code-handlers-using-linkiserrorcode-interfaces)

Implement custom error code handlers for engine specific exceptions in Apache Linkis. Learn how to use LinkisErrorCode interfaces to map exceptions and register handlers effectively.

- Tags: how-to-guide
- Published: 2026-02-25

### [ConfigurationLabel and TenantLabel Patterns for User-Level and Tenant-Level Configuration Management in Linkis](/apache/linkis/what-are-configurationlabel-and-tenantlabel-patterns-for-configuration-management-in-linkis)

Understand Linkis ConfigurationLabel and TenantLabel patterns for user and tenant configuration. Learn about hierarchical management and wildcard fallback.

- Tags: architecture
- Published: 2026-02-25

### [How ResourceManagerPersistence Handles Engine Resource Allocation in Apache Linkis: A Deep Dive into ResourceLabel Entities](/apache/linkis/how-does-linkis-resourcemanagerpersistence-handle-resource-allocation-and-resourcelabel-entities)

Discover how ResourceManagerPersistence in Apache Linkis manages engine resource allocation using ResourceLabel entities for efficient discovery and locking via relational database persistence.

- Tags: deep-dive
- Published: 2026-02-25

### [LabelBuilderFactory in Linkis: Implementing Custom Label Builders for Engine Type Routing](/apache/linkis/what-is-linkis-labelbuilderfactory-and-how-to-implement-custom-label-builders)

Learn how to use LabelBuilderFactory in Linkis to implement custom label builders for engine type routing. Discover extensible label builders via classpath scanning for seamless customization without core code changes.

- Tags: internals
- Published: 2026-02-25

### [How to Configure AcrossClusterRuleService for Cross-Cluster Resource Sharing in Apache Linkis](/apache/linkis/how-to-configure-acrossclusterruleservice-for-cross-cluster-resource-sharing-in-linkis)

Learn how to configure Apache Linkis AcrossClusterRuleService for seamless cross-cluster resource sharing and data access. Simplify your Linkis deployments.

- Tags: how-to-guide
- Published: 2026-02-25

### [Linkis CommonLockService Architecture: Distributed Locking for High-Concurrency Scenarios](/apache/linkis/what-is-linkis-commonlockservice-architecture-and-how-to-use-for-distributed-locking)

Explore the Linkis CommonLockService architecture for robust distributed locking in high-concurrency scenarios. Learn how its database-backed approach and MyBatis integration ensure exclusive operations across JVMs.

- Tags: architecture
- Published: 2026-02-24

### [How to Implement Multi-Cloud File System Abstraction in Linkis Using FsPath, HDFSFileSystem, and S3FileSystem](/apache/linkis/how-to-implement-file-system-abstraction-for-multi-cloud-storage-in-linkis)

Implement multi-cloud file system abstraction in Linkis using FsPath, HDFSFileSystem, and S3FileSystem. Seamlessly manage diverse cloud storage without altering business logic.

- Tags: tutorial
- Published: 2026-02-24

### [Supported Data Source Types in Linkis DataSourceManager and Custom Parameter Validators](/apache/linkis/what-are-supported-data-source-types-in-linkis-and-how-to-implement-custom-validators)

Explore supported data source types in Linkis, including Kafka MongoDB and Elasticsearch. Learn to implement custom parameter validators with ParameterValidateStrategy for enhanced control.

- Tags: api-reference
- Published: 2026-02-24

### [How the InstanceLabel Service Enables Service Discovery in Linkis and InsLabelCacheConfiguration Options Explained](/apache/linkis/how-does-linkis-instancelabel-service-work-for-service-discovery-and-cache-configuration)

Discover how Linkis' InstanceLabel service uses label-driven registration and caching for efficient service discovery. Explore InsLabelCacheConfiguration options.

- Tags: internals
- Published: 2026-02-24

### [Linkis Engine Lifecycle States and LinkisGatewayCoreErrorCodeSummary for Engine Connection Failures](/apache/linkis/how-does-linkis-manage-engine-lifecycle-states-and-error-codes-for-connection-failures)

Understand Linkis engine lifecycle states and LinkisGatewayCoreErrorCodeSummary for connection failures. Learn about engine states, helper predicates, and error codes 11010-11012, 18000.

- Tags: internals
- Published: 2026-02-24

### [Multi-Level Label Architectures for Task Routing in Apache Linkis: Load Balancing and Traffic Control](/apache/linkis/what-are-multi-level-label-architectures-for-task-routing-and-how-they-enable-load-balancing)

Discover Apache Linkis's six-level label architecture for intelligent task routing. Achieve precise load balancing and resource isolation in distributed clusters.

- Tags: architecture
- Published: 2026-02-24

### [How to Implement Custom Authentication Providers Using TokenDao and GatewayAuthorizationFilter in Apache Linkis](/apache/linkis/how-to-implement-custom-authentication-providers-using-linkis-internal-apis)

Learn how to implement custom authentication providers in Apache Linkis using TokenDao and GatewayAuthorizationFilter. Fetch tokens, handle validation, and integrate seamlessly into your Linkis setup.

- Tags: how-to-guide
- Published: 2026-02-24

### [Linkis BML Resource Versioning Mechanism: How to Implement Custom Cloud Storage Helpers](/apache/linkis/what-is-bml-resource-versioning-mechanism-and-how-to-implement-custom-resource-helpers-for-cloud-storage)

Explore Apache Linkis BML resource versioning and learn to implement custom cloud storage helpers for services like Alibaba OSS or Google Cloud Storage. Master resource management with Linkis.

- Tags: internals
- Published: 2026-02-24

### [Linkis EngineConn Connection Pool Architecture and Tuning Guide for Optimal Performance](/apache/linkis/what-is-the-architecture-of-linkis-engineconn-connection-pool-and-how-to-tune-engine-reuse-parameters)

Explore the Linkis EngineConn connection pool architecture. Learn how to tune engine reuse for optimal performance with this comprehensive guide.

- Tags: architecture
- Published: 2026-02-24

### [Linkis Label-Based Routing: How It Works and How to Configure Custom Route Labels for Multi-Tenant Traffic](/apache/linkis/how-does-linkis-label-based-routing-work-and-configure-custom-route-labels-for-multi-tenant-traffic-routing)

Learn how Linkis label-based routing works and configure custom route labels for multi-tenant traffic. Linkis routes requests by matching route labels, ensuring efficient traffic distribution.

- Tags: deep-dive
- Published: 2026-02-24

