confluentinc / examples

Apache Kafka and Confluent Platform examples and demos
Apache License 2.0
1.92k stars 1.12k forks source link

Update springboot.config with correct properties #1248

Closed WadeWaldron closed 7 months ago

WadeWaldron commented 7 months ago

Description

As per the documentation here:

https://docs.spring.io/spring-boot/docs/current/reference/html/application-properties.html#application-properties.integration.spring.kafka.bootstrap-servers

The correct configuration for the bootstrap servers is spring.kafka.bootstrap-servers rather than spring.kafka.properties.bootstrap.servers

You can see here where there is some discussion about the spring.kafka.properties.bootstrap.servers being supported unintentionally and having since been removed.

Author Validation

Describe the validation already done, or needs to be done, by the PR submitter. Please note submitters are expected to build docs-platform locally to validate before merging from examples.

I have validated this using the course materials found here: https://developer.confluent.io/courses/spring/apache-kafka-intro/

Reviewer Tasks

Describe the tasks/validation that the PR submitter is requesting to be done by the reviewer.

cla-assistant[bot] commented 7 months ago

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.