Minor cleanup in samples and tools

- Cleanup in schema-registry samples (final variable).
- Add instructions in tools/kafka/docker-compose to run
  a quick test using Kafka console scripts.
This commit is contained in:
Soby Chacko
2022-10-20 15:00:29 -04:00
parent 9fa26da9ca
commit aebd885204
3 changed files with 22 additions and 2 deletions

View File

@@ -35,7 +35,7 @@ import org.springframework.web.bind.annotation.RestController;
@RestController
public class Producer1ApplicationKafka {
private Random random = new Random();
private final Random random = new Random();
@Autowired
private StreamBridge streamBridge;

View File

@@ -41,7 +41,7 @@ import com.example.Sensor;
@RestController
public class Producer2ApplicationKafka {
private Random random = new Random();
private final Random random = new Random();
@Autowired
private StreamBridge streamBridge;