https://pulumi.com logo
Title
f

future-window-78560

04/11/2022, 1:08 AM
error: malformed configuration value '127.0.0.1:9092': invalid character '.' after top-level value
running into above issue while creating kafka topic Any solution?
l

little-cartoon-10569

04/11/2022, 1:57 AM
Can you post the text (rather than a picture of text) that shows the problem? Where is 127.0.0.1:9092 being set? That'll help us see what's wrong and help you solve it.
f

future-window-78560

04/11/2022, 5:16 AM
As per documentation, I ran $pulumi config set kafka:bootstrapServers "127.0.0.1:9092" And then $pulumi up The error message is this: Diagnostics: kafka:index:Topic (topic): error: malformed configuration value '127.0.0.1:9092': invalid character '.' after top-level value
import pulumi_kafka as kafka topic = kafka.Topic("topic", name="sample-topic", replication_factor=1, partitions=4, ) #This is the code I am trying to achieve