Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
description
This article introduces how to configure various repositories

Repositories

Introduction

Gravitee uses repositories to store different types of data. They are configured in gravitee.yml, where each repository can correspond to a particular scope. For example, management data can be stored in MongoDB, rate limiting data in Redis, and analytics data in ElasticSearch.

Supported storage

The following matrix shows scope and storage compatibility.

ScopeMongoDBRedisElasticSearchJDBC
Management
All the APIM management data such as API definitions, users, applications, and plans
truefalsefalsetrue
Rate Limit
Rate limiting data
truetruefalsetrue
Analytics
Analytics data
falsefalsetruefalse
Distributed Sync
Responsible for storing the sync state for a cluster
falsetruefalsefalse

Please choose from the options below to learn how to configure these repositories.

{% hint style="warning" %} Using JDBC as a rate limit repository is not recommended because concurrent threads do not share a counter. This can result in inaccuracies in limit calculations. {% endhint %}

Elasticsearchelasticsearch.md
MongoDBmongodb.md
JDBCjdbc.md
Redisredis.md