fix(gradle): fix gradle command referenced in docs (#7318)

This commit is contained in:
david-leifker 2023-02-16 18:27:53 -06:00 committed by GitHub
parent 09a3c253ec
commit 751289c9e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 4 deletions

View File

@ -42,7 +42,7 @@ The quickest way to try out `Metadata Audit Event Consumer Job` is running the [
If you do modify things and want to try it out quickly without building the Docker image, you can also run
the application directly from command line after a successful [build](#build):
```
./gradlew :metadata-jobs:mae-consumer-job:bootRun
MCL_CONSUMER_ENABLED=true ./gradlew :metadata-jobs:mae-consumer-job:bootRun
```
## Endpoints

View File

@ -14,8 +14,10 @@ import org.springframework.context.annotation.FilterType;
@SpringBootApplication(exclude = {ElasticsearchRestClientAutoConfiguration.class, CassandraAutoConfiguration.class,
SolrHealthContributorAutoConfiguration.class})
@ComponentScan(basePackages = {
"com.linkedin.gms.factory.kafka",
"com.linkedin.metadata.boot.kafka",
"com.linkedin.metadata.kafka"
"com.linkedin.metadata.kafka",
"com.linkedin.metadata.dao.producer"
}, excludeFilters = {
@ComponentScan.Filter(type = FilterType.ASSIGNABLE_TYPE, classes = ScheduledAnalyticsFactory.class)})
public class MaeConsumerApplication {

View File

@ -49,7 +49,7 @@ Quickest way to try out `Metadata Change Event Consumer Job` is running the [Doc
If you do modify things and want to try it out quickly without building the Docker image, you can also run
the application directly from command line after a successful [build](#build):
```
./gradlew :metadata-jobs:mce-consumer-job:bootRun
MCP_CONSUMER_ENABLED=true ./gradlew :metadata-jobs:mce-consumer-job:bootRun
```
## Debugging
@ -58,7 +58,7 @@ To debug with an IDE (i.e. IntelliJ), run the `bootRun` task with the `--debug-j
listen on port 5005 for a remote debugger.
```
./gradlew :metadata-jobs:mce-consumer-job:bootRun --debug-jvm
MCP_CONSUMER_ENABLED=true ./gradlew :metadata-jobs:mce-consumer-job:bootRun --debug-jvm
```
## Endpoints