Skip to content
This repository was archived by the owner on Dec 14, 2022. It is now read-only.

Commit 256358f

Browse files
author
Chris Wiechmann
committed
Adding a memcached instance when running logstash tests
1 parent b0e940a commit 256358f

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

.env

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,15 @@ API_MANAGER_PASSWORD=changeme
4949
# parameter.
5050
LOGSTASH=logstash:5044
5151

52+
# ----------------------------------------------------------------------------------------------
53+
# With this parameter you tell the Logstash processing pipeline which memchached to use. It is
54+
# used to cache the API-Details that has been looked up from the API-Manager via the API-Builder.
55+
# Even if the API-Builder is already caching the result, this improves ingest performance.
56+
# The default parameter works when using the docker-compose.yml
57+
# Comment this parameter if you dont want to use memcached at all.
58+
MEMCACHED=memchached:11211
59+
60+
5261
# ----------------------------------------------------------------------------------------------
5362
# This is an optional parameter used by Filebeat to set a proper name. This allows for instance
5463
# to identify the different Filebeat instances in the Kibana-Stack Monitoring dashboards.

.github/workflows/logstash.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,12 @@ jobs:
1313
- 8080:8080
1414
env:
1515
MOCK_LOOKUP_API: true
16+
memcached:
17+
image: memcached:1.6.6-alpine
18+
ports:
19+
- 11211:11211
20+
env:
21+
MOCK_LOOKUP_API: true
1622

1723
steps:
1824
- uses: actions/checkout@v2

0 commit comments

Comments
 (0)