cjmamo / kafka-web-console

A web console for Apache Kafka (retired)
Apache License 2.0
762 stars 246 forks source link

Using postgresql #8

Open skvorec opened 10 years ago

skvorec commented 10 years ago

How can I use it on postgre? Postgre have not type "Long". When I replaced long -> bigint, varchar -> varchar (30), int -> integer I got an error: [ERROR] [03/20/2014 13:12:16.336] [application-akka.actor.default-dispatcher-3] [akka://application/user/$a] Exception while executing statement : ERROR: column zookeepers7.groupId does not exist Position: 56 errorCode: 0, sqlState: 42703 Select "zookeepers7"."host" as "zookeepers7_host", "zookeepers7"."groupId" as "zookeepers7_groupId", "zookeepers7"."name" as "zookeepers7_name", "zookeepers7"."port" as "zookeepers7_port", "zookeepers7"."chroot" as "zookeepers7_chroot", "zookeepers7"."statusId" as "zookeepers7_statusId" From "zookeepers" "zookeepers7" jdbcParams:[] akka.actor.ActorInitializationException: exception during creation at akka.actor.ActorInitializationException$.apply(Actor.scala:218) at akka.actor.ActorCell.create(ActorCell.scala:578) at akka.actor.ActorCell.invokeAll$1(ActorCell.scala:425) at akka.actor.ActorCell.systemInvoke(ActorCell.scala:447) at akka.dispatch.Mailbox.processAllSystemMessages(Mailbox.scala:262) at akka.dispatch.Mailbox.run(Mailbox.scala:218) at akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(AbstractDispatcher.scala:386) at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260) at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339) at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979) at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)

cjmamo commented 10 years ago

The first issue is a bug. To solve the second issue, I think you need to drop the PLAY_EVOLUTIONS table and re-apply all the evolutions.