Kafka Connect:我无法在数据库中找到该表,但它表示正在创建该表

时间:2018-12-19 15:40:41

标签: sqlite jdbc apache-kafka apache-kafka-connect confluent

我正在尝试将一些数据从Kafka主题下沉到SQLite数据库中。 它每次都会奇怪地检查表并创建一个表,但是当我亲自搜索数据库时,没有这样的表。

@Configuration
@EnableWebFluxSecurity
@EnableWebFlux
public class ResourceServerConfig implements WebFluxConfigurer {

    @Bean
    public SecurityWebFilterChain springSecurityFilterChain(ServerHttpSecurity http, FirebaseAuthenticationManager manager) {
        http
                .authorizeExchange().anyExchange().permitAll()
                .and().csrf().disable();
        return http.build();
    }
}

甚至说他们正在提交,没有错误产生:

[2018-12-19 15:33:39,438] INFO Checking Sqlite dialect for existence of table "neworders1" (io.confluent.connect.jdbc.dialect.SqliteDatabaseDialect:492)
[2018-12-19 15:33:39,439] INFO Using Sqlite dialect table "neworders1" present (io.confluent.connect.jdbc.dialect.SqliteDatabaseDialect:500)
[2018-12-19 15:33:39,453] INFO Setting metadata for table "neworders1" to Table{name='"neworders1"', columns=[Column{'eventTime', isPrimaryKey=false, allowsNull=false, sqlType=INTEGER}, Column{'receivedPacketUID', isPrimaryKey=false, allowsNull=false, sqlType=INTEGER}, Column{'eventLongitude', isPrimaryKey=false, allowsNull=false, sqlType=REAL}, Column{'eventLocationStampUID', isPrimaryKey=false, allowsNull=false, sqlType=INTEGER}, Column{'eventCourse', isPrimaryKey=false, allowsNull=false, sqlType=INTEGER}, Column{'remoteEventUID', isPrimaryKey=false, allowsNull=false, sqlType=INTEGER}, Column{'remoteUnitAID', isPrimaryKey=false, allowsNull=false, sqlType=INTEGER}, Column{'eventSpeed', isPrimaryKey=false, allowsNull=false, sqlType=INTEGER}, Column{'eventOdometer', isPrimaryKey=false, allowsNull=false, sqlType=INTEGER}, Column{'eventLatitude', isPrimaryKey=false, allowsNull=false, sqlType=REAL}]} (io.confluent.connect.jdbc.util.TableDefinitions:65)
  • 但是我不知道为什么不创建它,而是在哪里存储数据。有什么建议吗?

0 个答案:

没有答案