Skip to content

Commit

Permalink
del tiltakstyper på ny topic siste-tiltakstyper-v2
Browse files Browse the repository at this point in the history
  • Loading branch information
sondrele committed Apr 11, 2024
1 parent f0d338a commit f62336e
Show file tree
Hide file tree
Showing 8 changed files with 86 additions and 5 deletions.
6 changes: 6 additions & 0 deletions iac/kafka-manager/dev/kafka-manager-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,12 @@ spec:
"keyDeserializerType": "STRING",
"valueDeserializerType": "STRING"
},
{
"name": "team-mulighetsrommet.siste-tiltakstyper-v2",
"location": "AIVEN",
"keyDeserializerType": "STRING",
"valueDeserializerType": "STRING"
},
{
"name": "team-mulighetsrommet.arena-migrering-tiltaksgjennomforinger-v1",
"location": "AIVEN",
Expand Down
8 changes: 7 additions & 1 deletion iac/kafka-manager/prod/kafka-manager-prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -84,12 +84,18 @@ spec:
"keyDeserializerType": "STRING",
"valueDeserializerType": "STRING"
},
{
{
"name": "team-mulighetsrommet.siste-tiltakstyper-v1",
"location": "AIVEN",
"keyDeserializerType": "STRING",
"valueDeserializerType": "STRING"
},
{
"name": "team-mulighetsrommet.siste-tiltakstyper-v2",
"location": "AIVEN",
"keyDeserializerType": "STRING",
"valueDeserializerType": "STRING"
},
{
"name": "team-mulighetsrommet.arena-migrering-tiltaksgjennomforinger-v1",
"location": "AIVEN",
Expand Down
33 changes: 33 additions & 0 deletions iac/kafka-topics/dev/siste-tiltakstyper-v2.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
apiVersion: kafka.nais.io/v1
kind: Topic
metadata:
name: siste-tiltakstyper-v2
namespace: team-mulighetsrommet
labels:
team: team-mulighetsrommet
spec:
pool: nav-dev
config:
cleanupPolicy: compact
minimumInSyncReplicas: 2
partitions: 2
replication: 3
acl:
- team: team-mulighetsrommet
application: mulighetsrommet-api
access: readwrite
- team: team-mulighetsrommet
application: mulighetsrommet-kafka-manager
access: read
- team: amt
application: amt-tiltak
access: read
- team: amt
application: amt-deltaker-bff
access: read
- team: amt
application: amt-deltaker
access: read
- team: teamoppfolging
application: teamoppfolging-kafka
access: read
36 changes: 36 additions & 0 deletions iac/kafka-topics/prod/siste-tiltakstyper-v2.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
apiVersion: kafka.nais.io/v1
kind: Topic
metadata:
name: siste-tiltakstyper-v2
namespace: team-mulighetsrommet
labels:
team: team-mulighetsrommet
spec:
pool: nav-prod
config:
cleanupPolicy: compact
minimumInSyncReplicas: 2
partitions: 2
replication: 3
acl:
- team: team-mulighetsrommet
application: mulighetsrommet-api
access: readwrite
- team: team-mulighetsrommet
application: mulighetsrommet-kafka-manager
access: read
- team: amt
application: amt-tiltak
access: read
- team: amt
application: amt-deltaker-bff
access: read
- team: amt
application: amt-kafka-manager
access: read
- team: amt
application: amt-deltaker
access: read
- team: teamoppfolging
application: teamoppfolging-kafka
access: read
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ app:
tiltaksgjennomforinger:
topic: team-mulighetsrommet.siste-tiltaksgjennomforinger-v1
tiltakstyper:
topic: team-mulighetsrommet.siste-tiltakstyper-v1
topic: team-mulighetsrommet.siste-tiltakstyper-v2
consumers:
tiltaksgjennomforingerV1:
id: siste-tiltaksgjennomforinger
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ app:
tiltaksgjennomforinger:
topic: siste-tiltaksgjennomforinger-v1
tiltakstyper:
topic: team-mulighetsrommet.siste-tiltakstyper-v1
topic: team-mulighetsrommet.siste-tiltakstyper-v2
consumers:
tiltaksgjennomforingerV1:
id: siste-tiltaksgjennomforinger
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ app:
tiltaksgjennomforinger:
topic: team-mulighetsrommet.siste-tiltaksgjennomforinger-v1
tiltakstyper:
topic: team-mulighetsrommet.siste-tiltakstyper-v1
topic: team-mulighetsrommet.siste-tiltakstyper-v2
consumers:
tiltaksgjennomforingerV1:
id: siste-tiltaksgjennomforinger
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ fun createKafkaConfig(): KafkaConfig {
producerId = "mulighetsrommet-api-producer",
producers = KafkaProducers(
tiltaksgjennomforinger = TiltaksgjennomforingKafkaProducer.Config(topic = "siste-tiltaksgjennomforinger-v1"),
tiltakstyper = TiltakstypeKafkaProducer.Config(topic = "siste-tiltakstyper-v1"),
tiltakstyper = TiltakstypeKafkaProducer.Config(topic = "siste-tiltakstyper-v2"),
arenaMigreringTiltaksgjennomforinger = ArenaMigreringTiltaksgjennomforingKafkaProducer.Config(
topic = "arena-migrering-tiltaksgjennomforinger-v1",
),
Expand Down

0 comments on commit f62336e

Please sign in to comment.