Skip to content

Underscores not allowed in --kinesisendpoint #32

Open
@cjbottaro

Description

Underscores should be allowed in hostnames.

Exception in thread "main" java.lang.IllegalArgumentException: kinesisEndpoint must match the pattern ^([A-Za-z0-9-\.]+)?$, got foo_nginx_1
	at com.amazonaws.services.kinesis.producer.KinesisProducerConfiguration.setKinesisEndpoint(KinesisProducerConfiguration.java:985)
	at com.disneystreaming.pg2k4j.CommandLineRunner.getKinesisProducerConfiguration(CommandLineRunner.java:237)
	at com.disneystreaming.pg2k4j.SlotReaderKinesisWriter.<init>(SlotReaderKinesisWriter.java:77)
	at com.disneystreaming.pg2k4j.CommandLineRunner.run(CommandLineRunner.java:25)
	at java.base/java.util.Optional.ifPresent(Optional.java:183)
	at com.disneystreaming.pg2k4j.CommandLineRunner.main(CommandLineRunner.java:45)

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions