                                owner (ZkUtils/readDataMaybeNull zc owner-znode)]
                            (when (or msg-store (seq owner))
                              (let [consumer-offset (if (seq offset-str)
-                                                     (Integer/valueOf
+                                                     (Long/valueOf
                                                       (if (.contains offset-str "-")
                                                         (let [idx (.lastIndexOf offset-str "-")]
                                                           (.substring offset-str (inc idx)))

(defn- dashboard [req]
  (render-tpl "dashboard.vm"
              :instance (u/stringfy-map-keys (instance))
              :version (u/stringfy-map-keys (version)) 
              :jvm (u/stringfy-map-keys (jvm))
              :system (u/stringfy-map-keys (system))))


                                                     0)
                                   max-offset (if msg-store
                                                (-> msg-store (.getMaxOffset))
                                                0)
                                   min-offset (if msg-store
                                                (-> msg-store (.getMinOffset))
                                                0)
