- Define following profiles in pom.xml
<profiles>
<profile>
<id>dev</id>
<properties>
<activatedProperties>dev</activatedProperties>
</properties>
<activation>
$ bin/elasticsearch
logstash-elk.conf
file on logstash home directory with the following content and change the log file location and index name based on your settingsinput {
file {
Schema Files:
Customer.avsc
{"namespace": "com.kafkastream.model",
"type": "record",
Sometimes git does not exclude files/folders added .gitignore
especially if you had commited them before. Here is how to fix it. I am ignoring node_modules from Angular project as an example
.gitignore
with the folder/file name you want to ignore. You can use anyone of the formats mentioned below (prefer format1)### Format1 ###
node_modules/
Static resources can be configured using two approaches in Spring Boot
addResourceHandlers()
methodFirst configure your SpringSecurity class to accept requests to this resources
@Override
public void configure(WebSecurity web)
sudo mysql
USE mysql;
UPDATE user SET authentication_string=PASSWORD('YOUR_PASSWORD') WHERE User='root';
UPDATE user SET plugin="mysql_native_password";
FLUSH PRIVILEGES;
quit;
Name => WINDOWS10
Format => MS-DOS (FAT)
Scheme => GUID Partition Map