Skip to content

Add support for new topic configuration fields - message.timestamp.after.max.ms and message.timestamp.before.max.ms #341

@Noel-Jones

Description

@Noel-Jones

Following on from #339 I just got around to updating my code to set the fields message.timestamp.after.max.ms and message.timestamp.before.max.ms to the default values. Now I get the message

Error: error updating Kafka Topic "lkc-xxxx/xxx.customer.updates": "message.timestamp.after.max.ms" topic setting is read-only and cannot be updated. Read https://registry.terraform.io/providers/confluentinc/confluent/latest/docs/resources/confluent_kafka_topic for more details.
│ 
│   with confluent_kafka_topic.active["Development-dev_cluster_0-xxx.customer.updates"],
│   on topic.tf line 24, in resource "confluent_kafka_topic" "active":
│   24: resource "confluent_kafka_topic" "active" {

The provider needs to be updated to support setting of these fields. I am raising this as a new issue because it is a specific issue with a more significant impact that prevents me from being able to apply. If I set the config value I get the error shown above, if I don't set the field I get the error below!

Error: error updating Kafka Topic "lkc-xxxxx/dlq-oracle-erp.fct.customer.updates": reset to topic setting's default value operation (in other words, removing topic settings from 'configs' block) is not supported at the moment. Instead, find its default value at https://registry.terraform.io/providers/confluentinc/confluent/latest/docs/resources/confluent_kafka_topic and set its current value to the default value.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions