Skip to content

Commit

Permalink
Merge branch 'main' into issues/620
Browse files Browse the repository at this point in the history
  • Loading branch information
Haarolean authored Nov 17, 2024
2 parents 3188223 + 8f9c634 commit 14b5d46
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 2 deletions.
17 changes: 17 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,23 @@ updates:
- "type/dependencies"
- "scope/backend"

- package-ecosystem: docker
directory: "/api"
schedule:
interval: weekly
time: "10:00"
timezone: Europe/London
reviewers:
- "kafbat/backend"
open-pull-requests-limit: 10
ignore:
- dependency-name: "azul/zulu-openjdk-alpine"
# Limit dependabot pull requests to minor Java upgrades
update-types: ["version-update:semver-major"]
labels:
- "type/dependencies"
- "scope/backend"

- package-ecosystem: npm
directory: "/frontend"
schedule:
Expand Down
5 changes: 4 additions & 1 deletion api/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
FROM azul/zulu-openjdk-alpine:17.0.11-jre-headless
# The tag is ignored when a sha is included but the reason to add it are:
# 1. Self Documentation: It is difficult to find out what the expected tag is given a sha alone
# 2. Helps dependabot during discovery of upgrades
FROM azul/zulu-openjdk-alpine:17-jre-headless-latest@sha256:af4df00adaec356d092651af50d9e80fd179f96722d267e79acb564aede10fda

RUN apk add --no-cache \
# snappy codec
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,10 +118,11 @@ public Mono<ResponseEntity<Flux<TopicMessageEventDTO>>> getTopicMessagesV2(Strin
if (cursor != null) {
messagesFlux = messagesService.loadMessages(getCluster(clusterName), topicName, cursor);
} else {
var pollingMode = mode == null ? PollingModeDTO.LATEST : mode;
messagesFlux = messagesService.loadMessages(
getCluster(clusterName),
topicName,
ConsumerPosition.create(checkNotNull(mode), checkNotNull(topicName), partitions, timestamp, offset),
ConsumerPosition.create(pollingMode, checkNotNull(topicName), partitions, timestamp, offset),
stringFilter,
smartFilterId,
limit,
Expand Down

0 comments on commit 14b5d46

Please sign in to comment.