0

我有一个config.hocon.sample具有以下配置的文件:

        minBackoff = {{enrichStreamsOutMinBackoff}}
        minBackoff = ${?ENRICH_STREAMS_SOURCE_SINK_BACKOFF_POLICY_MIN_BACKOFF}
        maxBackoff = {{enrichStreamsOutMaxBackoff}}
        maxBackoff = ${?ENRICH_STREAMS_SOURCE_SINK_BACKOFF_POLICY_MAX_BACKOFF}

但是,当我尝试通过sbtthen 运行代码时,会出现以下错误:

$ sbt "project kinesis" "runMain com.snowplowanalytics.snowplow.enrich.stream.KinesisEnrich --config config/config.hocon.sample --resolver file:config/iglu_resolver.json  --enrichments file:config/enrichments/"
[info] welcome to sbt 1.3.12 (Oracle Corporation Java 11.0.9)
[info] loading settings for project global-plugins from idea.sbt ...
[info] loading global plugins from /home/knoldus/.sbt/1.0/plugins
[info] loading settings for project enrich-build from plugins.sbt ...
[info] loading project definition from /home/Projects/snowplow/enrich/project
[info] loading settings for project root from build.sbt ...
[info] loading settings for project bench from build.sbt ...
[info] resolving key references (12067 settings) ...
[info] set current project to enrich (in build file:/home/Projects/snowplow/enrich/)
[info] set current project to kinesis (in build file:/home/Projects/snowplow/enrich/)
[info] running com.snowplowanalytics.snowplow.enrich.stream.KinesisEnrich --config config/config.hocon.sample --resolver file:config/iglu_resolver.json --enrichments file:config/enrichments/
config/config.hocon.sample: 120: expecting a close parentheses ')' here, not: '{'

Exception: sbt.TrapExitSecurityException thrown from the UncaughtExceptionHandler in thread "run-main-0"
[error] Nonzero exit code: 1
[error] (Compile / runMain) Nonzero exit code: 1
[error] Total time: 4 s, completed 19-Apr-2021, 4:34:23 PM

有什么解决办法吗?

4

0 回答 0