<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Mehmet ERGÜLCÜ on Medium]]></title>
        <description><![CDATA[Stories by Mehmet ERGÜLCÜ on Medium]]></description>
        <link>https://medium.com/@ergulcu?source=rss-2d26bd41aab0------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*NT4fiWDUwoQzSPMSjrijdw.jpeg</url>
            <title>Stories by Mehmet ERGÜLCÜ on Medium</title>
            <link>https://medium.com/@ergulcu?source=rss-2d26bd41aab0------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 17 Nov 2026 23:48:47 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@ergulcu/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Gizlilik Odaklı AI Araçları Karşılaştırması: PrivateGPT, Memori ve Wald.ai]]></title>
            <link>https://ergulcu.medium.com/gizlilik-odakl%C4%B1-ai-ara%C3%A7lar%C4%B1-kar%C5%9F%C4%B1la%C5%9Ft%C4%B1rmas%C4%B1-privategpt-memori-ve-wald-ai-a46a6cefea14?source=rss-2d26bd41aab0------2</link>
            <guid isPermaLink="false">https://medium.com/p/a46a6cefea14</guid>
            <dc:creator><![CDATA[Mehmet ERGÜLCÜ]]></dc:creator>
            <pubDate>Sat, 13 Dec 2025 19:40:39 GMT</pubDate>
            <atom:updated>2025-12-13T19:41:33.038Z</atom:updated>
            <content:encoded><![CDATA[<p>Yapay zeka dünyasında “Private” (Gizli) ve “Local” (Yerel) kelimelerini her yerde duyuyoruz. Ancak Github linkleri arasında kaybolurken, isim benzerliği olan projelerin aslında tamamen farklı amaçlara hizmet ettiğini fark etmek zor olabiliyor.</p><p>Bu yazıda, sıkça karıştırılan ancak her biri farklı bir sorunu çözen 4 popüler projeyi ve yaklaşımı mercek altına alıyoruz: <strong>GibsonAI (Memori)</strong>, <strong>Resmi PrivateGPT</strong>, <strong>Muquit’in Ollama Varyasyonu</strong> ve <strong>Wald.ai</strong>.</p><p>İşte bu projelerin geliştiriciler, kurumlar ve son kullanıcılar için 8 temel farka göre detaylı analizi.</p><h3>1. Oyuncuları Tanıyalım</h3><p>Karşılaştırmaya geçmeden önce, bu araçların “aslında” ne olduklarına kısaca bakalım:</p><ul><li><strong>GibsonAI (Memori):</strong> Bu bir sohbet botu değil, bir **”Hafıza Kütüphanesi”**dir. AI ajanlarının (Agents) kullanıcıyla olan geçmişini, tercihlerini ve bağlamı hatırlamasını sağlayan bir SDK’dır.</li><li><strong>PrivateGPT (Resmi — privategpt.dev):</strong> <strong>LlamaIndex</strong> üzerine kurulu, dokümanlarınızla konuşmanızı sağlayan profesyonel bir <strong>RAG (Retrieval-Augmented Generation)</strong> çerçevesidir.</li><li><strong>Muquit/privategpt:</strong> Resmi sürümün, özellikle <strong>Ollama</strong> kullanıcıları için basitleştirilmiş, kurulumu kolay ve hafif bir açık kaynak versiyonudur.</li><li><strong>Wald.ai:</strong> Bu bir kod deposundan ziyade bir **”Kurumsal Güvenlik Duvarı”**dır. Şirketlerin veri sızdırmadan LLM kullanmasını sağlayan bir güvenlik ve yönetim platformudur.</li></ul><h3>2. Temel Farklılıklar ve Karşılaştırma</h3><p>Bu dört yaklaşımı birbirinden ayıran 8 kritik fark şunlardır:</p><h3>1. Temel Amaç (Core Purpose)</h3><p>Hepsi AI kullansa da hedefleri farklıdır:</p><ul><li><strong>Memori:</strong> Ajanların “balık hafızalı” olmasını engellemek.</li><li><strong>Resmi PrivateGPT:</strong> Doküman indeksleme ve sorgulama (RAG) sistemi kurmak.</li><li><strong>Muquit:</strong> Bireysel kullanıcının hızlıca PDF okutup soru sormasını sağlamak.</li><li><strong>Wald.ai:</strong> Şirket verilerinin dışarı sızmasını (DLP) engellemek.</li></ul><h3>2. Hedef Kitle</h3><ul><li><strong>Memori:</strong> Doğrudan <strong>Yazılım Geliştiriciler (Developers)</strong> içindir.</li><li><strong>Resmi PrivateGPT:</strong> <strong>AI Mühendisleri</strong> ve kendi sistemini kurmak isteyen şirketler içindir.</li><li><strong>Muquit:</strong> <strong>Teknoloji Meraklıları</strong> ve son kullanıcılar içindir.</li><li><strong>Wald.ai:</strong> <strong>CTO’lar, IT Yöneticileri</strong> ve Kurumsal Şirketler içindir.</li></ul><h3>3. Mimari Yapı (Architecture)</h3><ul><li><strong>Memori:</strong> Bir <strong>Veritabanı Katmanı</strong> gibi çalışır. Konuşma geçmişini anlamsal olarak saklar ve geri çağırır.</li><li><strong>Resmi PrivateGPT:</strong> Modüler bir API ve UI yapısıdır. “Ingestion” (belge işleme) ve “Inference” (cevap verme) olarak iki ana süreci yönetir.</li><li><strong>Muquit:</strong> Python tabanlı basit bir betik (script) yapısıdır, gücünü doğrudan yerel Ollama sunucusundan alır.</li><li><strong>Wald.ai:</strong> Bir “Gateway” (Geçit) mimarisidir. Veri modelden önce bu katmandan geçer, temizlenir ve öyle işlenir.</li></ul><h3>4. Veri İşleme Yaklaşımı</h3><ul><li><strong>Memori:</strong> Veriyi <strong>“Anı” (Memory)</strong> olarak işler. (Örn: “Kullanıcı X, Python sevmiyor.”)</li><li><strong>PrivateGPT (Her iki versiyon):</strong> Veriyi <strong>“Vektör Parçacıkları” (Chunks)</strong> olarak işler. Dokümanı böler ve benzerlik araması yapar.</li><li><strong>Wald.ai:</strong> Veriyi <strong>“Filtreler”</strong>. Kredi kartı numarası, isimler veya ticari sırları maskeler (Redaction).</li></ul><h3>5. Teknoloji Yığını (Tech Stack)</h3><ul><li><strong>Memori:</strong> Python SDK, Graph Database (Neo4j vb.)</li><li><strong>Resmi PrivateGPT:</strong> Poetry, LlamaIndex, Qdrant/Chroma.</li><li><strong>Muquit:</strong> Python, LangChain, Ollama.</li><li><strong>Wald.ai:</strong> Tescilli güvenlik algoritmaları, Kurumsal SSO (Single Sign-On).</li></ul><h3>6. Kurulum Zorluğu</h3><ul><li><strong>Memori:</strong> Orta. Projenize kütüphane (pip install) olarak eklemeniz ve yapılandırmanız gerekir.</li><li><strong>Resmi PrivateGPT:</strong> Yüksek. Docker, build işlemleri ve ortam ayarları gerektirir.</li><li><strong>Muquit:</strong> Düşük. Genellikle repoyu klonlayıp requirements.txt yüklemek yeterlidir.</li><li><strong>Wald.ai:</strong> Değişken. Genellikle yönetilen bir hizmet (SaaS) veya kurumsal kurulumdur.</li></ul><h3>7. Dosya Formatı Desteği</h3><ul><li><strong>Memori:</strong> Odak noktası dosyalar değil, <strong>Chat Loglarıdır.</strong></li><li><strong>Resmi PrivateGPT:</strong> Çok geniştir (PDF, DOCX, CSV, HTML, Markdown vb.).</li><li><strong>Muquit:</strong> Temel ofis ve metin dosyaları.</li><li><strong>Wald.ai:</strong> Kurumsal veri kaynakları (Google Drive, Slack, OneDrive entegrasyonları).</li></ul><h3>8. Maliyet ve Lisans</h3><ul><li><strong>Memori &amp; PrivateGPT &amp; Muquit:</strong> Genellikle Açık Kaynak (Open Source) ve ücretsizdir. (Kendi donanım maliyetiniz hariç).</li><li><strong>Wald.ai:</strong> Ticari bir üründür. Lisanslama veya abonelik modeli ile çalışır.</li></ul><h3>Özet Tablo</h3><p>Karar vermenizi kolaylaştıracak hızlı bir bakış:</p><figure><img alt="compare" src="https://cdn-images-1.medium.com/max/869/1*bwUvmH_Xnbw2IybF0gsNxA.png" /></figure><h3>Sonuç: Hangisini Seçmelisiniz?</h3><p>Doğru aracı seçmek, çözmeye çalıştığınız probleme bağlıdır:</p><ol><li>Eğer <strong>akıllı bir asistan kodluyorsanız</strong> ve kullanıcının geçen hafta anlattığı bir detayı hatırlamasını istiyorsanız, <strong>GibsonAI (Memori)</strong> kullanmalısınız.</li><li>Eğer şirketiniz için <strong>kapsamlı, özelleştirilebilir bir doküman arama motoru</strong> kuracaksanız, <strong>Resmi PrivateGPT</strong> en sağlam temeldir.</li><li>Eğer sadece bilgisayarınızda <strong>birkaç PDF ile hızlıca sohbet etmek</strong> istiyorsanız ve teknik detaylarda boğulmak istemiyorsanız, <strong>Muquit’in versiyonu</strong> en pratik çözümdür.</li><li>Eğer şirket çalışanlarınızın ChatGPT kullanırken <strong>veri sızdırmasından korkuyorsanız</strong>, kodla uğraşmak yerine <strong>Wald.ai</strong> gibi kurumsal bir çözüm tercih etmelisiniz.</li></ol><p>Seçiminiz hangisi olursa olsun, verilerinizin kontrolünün sizde olması yapay zeka çağında en büyük lükstür.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a46a6cefea14" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Android Auto Bağlantı Sorunu Yaşamamak İçin: Bildirim Okuma İznini Açmayı Unutmayın.]]></title>
            <link>https://ergulcu.medium.com/android-auto-ba%C4%9Flant%C4%B1-sorunu-ya%C5%9Famamak-i%CC%87%C3%A7in-bildirim-okuma-i%CC%87znini-a%C3%A7may%C4%B1-unutmay%C4%B1n-3b0d16d286a2?source=rss-2d26bd41aab0------2</link>
            <guid isPermaLink="false">https://medium.com/p/3b0d16d286a2</guid>
            <dc:creator><![CDATA[Mehmet ERGÜLCÜ]]></dc:creator>
            <pubDate>Sat, 15 Nov 2025 12:54:17 GMT</pubDate>
            <atom:updated>2025-11-15T12:55:46.676Z</atom:updated>
            <content:encoded><![CDATA[<p>Android Auto kullanırken bağlantının sık sık kopması, telefonun araçla eşleşmemesi veya bildirimlerin ekrana düşmemesi birçok kullanıcının karşılaştığı yaygın bir problemdir. Bu sorunların önemli bir kısmı, Android’in kritik bir izin ayarından kaynaklanır: &quot;Bildirimleri Okuma İzni&quot;.</p><p>Telefonunuz bu izne sahip değilse Android Auto, gelen bildirimleri senkronize edemez ve bağlantı stabilitesi bozulabilir. Özellikle WhatsApp, Telegram, Messenger gibi uygulamalardan mesaj okuyamama veya sesli yanıt verememe gibi hatalar sık görülür.</p><p>Yukarıdaki görselde görüldüğü gibi, Android Ayarları → Uygulamalar → Özel Erişim → Bildirimlere Erişim ekranına giderek Android Auto’ya gerekli izni vermeniz gerekir.<br>Bu izin etkin olduğunda:</p><p>Android Auto bağlantısı daha kararlı çalışır.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fWZ3EN12jX9ufvCkLryjpw.png" /></figure><p>Mesaj bildirimleri anında ekrana düşer.</p><p>Google Asistan bildirimleri sorunsuz okuyabilir.</p><p>Harici uygulamalardaki bildirim gecikmeleri ortadan kalkar.</p><p>Sonuç:<br>Bağlantı problemlerinin büyük bir kısmı bu küçük ayar değişikliğiyle çözülür. Eğer Android Auto zaman zaman sizi yarı yolda bırakıyorsa, ilk kontrol etmeniz gereken şey “Bildirimleri Okuma İzni” olmalıdır.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3b0d16d286a2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Run Keycloak Using Compose File To Test Localy]]></title>
            <link>https://ergulcu.medium.com/run-keycloak-using-compose-file-to-test-localy-e5c740073364?source=rss-2d26bd41aab0------2</link>
            <guid isPermaLink="false">https://medium.com/p/e5c740073364</guid>
            <category><![CDATA[docker-compose]]></category>
            <category><![CDATA[keycloak]]></category>
            <dc:creator><![CDATA[Mehmet ERGÜLCÜ]]></dc:creator>
            <pubDate>Thu, 15 Aug 2024 19:51:58 GMT</pubDate>
            <atom:updated>2024-08-15T19:51:58.774Z</atom:updated>
            <content:encoded><![CDATA[<p>create keycloakcompose.yml with following content</p><pre>version: &#39;test&#39;<br>services:<br>  keycloak_web:<br>    image: quay.io/keycloak/keycloak:23.0.7<br>    container_name: keycloak_web<br>    environment:<br>      KC_DB: postgres<br>      KC_DB_URL: jdbc:postgresql://keycloakdb:5432/keycloak<br>      KC_DB_USERNAME: keycloak<br>      KC_DB_PASSWORD: password<br><br>      KC_HOSTNAME: localhost<br>      KC_HOSTNAME_PORT: 8080<br>      KC_HOSTNAME_STRICT: false<br>      KC_HOSTNAME_STRICT_HTTPS: false<br><br>      KC_LOG_LEVEL: info<br>      KC_METRICS_ENABLED: true<br>      KC_HEALTH_ENABLED: true<br>      KEYCLOAK_ADMIN: admin<br>      KEYCLOAK_ADMIN_PASSWORD: admin<br>    command: start-dev<br>    depends_on:<br>      - keycloakdb<br>    ports:<br>      - 8080:8080<br><br>  keycloakdb:<br>    image: postgres:15<br>    volumes:<br>      - postgres_data:/var/lib/postgresql/data<br>    environment:<br>      POSTGRES_DB: keycloak<br>      POSTGRES_USER: keycloak<br>      POSTGRES_PASSWORD: password<br><br>volumes:<br>  postgres_data:</pre><p>Start compose file with following command.</p><pre>docker-compose -f keycloakcompose.yml up</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wjxnyQaiyhVUrvQElhYu5g.png" /></figure><p>Open <a href="http://localhost:8080/"><strong>http://localhost:8080</strong></a> in you browser</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_jV9x_BmDztXvLkwBzFQyw.png" /></figure><p>Click on Administration Console or open <a href="http://localhost:8080/admin"><strong>http://localhost:8080/admin</strong></a></p><p>sign in with username:admin, password:admin as defined in yml file.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9lOHCcS0s_v68yVyOrralg.png" /></figure><p>you are ready to configure local keycloak</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zSEmrNPJV7e_HDgcSELyLg.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e5c740073364" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Spring Boot Kafka Producer and Consumer Example]]></title>
            <link>https://ergulcu.medium.com/spring-boot-kafka-producer-and-consumer-example-f72587116a80?source=rss-2d26bd41aab0------2</link>
            <guid isPermaLink="false">https://medium.com/p/f72587116a80</guid>
            <category><![CDATA[kafka]]></category>
            <category><![CDATA[consumer]]></category>
            <category><![CDATA[producer]]></category>
            <category><![CDATA[spring-boot]]></category>
            <dc:creator><![CDATA[Mehmet ERGÜLCÜ]]></dc:creator>
            <pubDate>Fri, 09 Aug 2024 22:40:33 GMT</pubDate>
            <atom:updated>2025-05-18T20:47:52.464Z</atom:updated>
            <content:encoded><![CDATA[<p>You need to start with following read</p><p><a href="https://medium.com/@ergulcu/kafka-with-kafkaui-to-test-kafka-listener-localy-65e3d556854b">https://medium.com/@ergulcu/kafka-with-kafkaui-to-test-kafka-listener-localy-65e3d556854b</a></p><p>or start kafka broker on localhost:9092</p><p>creating message producer project with spring initializer</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ArcSHw5q2FOWULZaUi7j1A.png" /></figure><p>add properties to application.properties file</p><pre>server.port=8788<br>spring.application.name=kafkaproducer<br>spring.kafka.bootstrap-servers=localhost:9092<br>spring.kafka.consumer.group-id=myGroup</pre><p>add service</p><pre>package com.ergulcu.kafkaproducer.service;<br><br>public interface MessageService {<br>    void sendMessage(String message);<br>}</pre><p>add service impl</p><pre>@Service<br>@RequiredArgsConstructor<br>public class MessageServiceImpl implements MessageService {<br>    private final KafkaTemplate&lt;String, String&gt; kafkaTemplate;<br>    @Override<br>    public void sendMessage(String message){<br>        kafkaTemplate.send(&quot;TestTopic&quot;, message);<br>    }<br><br>}</pre><p>add controller</p><pre>package com.ergulcu.kafkaproducer.controller;<br><br>import com.ergulcu.kafkaproducer.service.MessageService;<br>import lombok.RequiredArgsConstructor;<br>import org.springframework.web.bind.annotation.PostMapping;<br>import org.springframework.web.bind.annotation.RequestBody;<br>import org.springframework.web.bind.annotation.RestController;<br><br>@RestController<br>@RequiredArgsConstructor<br>public class MessageController {<br>    private final MessageService messageService;<br>    @PostMapping(&quot;/message&quot;)<br>    public void postMessage(@RequestBody String message){<br>        messageService.sendMessage(message);<br>    }<br>}</pre><p>creating message consumer project with spring initializer</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Vm-vS0OnkcNk2lqVEVE-FQ.png" /></figure><p>add properties to application.properties file</p><pre>server.port=8787<br>spring.application.name=kafkaproducer<br>spring.kafka.bootstrap-servers=localhost:9092<br>spring.kafka.consumer.group-id=myGroup</pre><p>add service</p><pre>package com.ergulcu.kafkaconsumer.service;<br><br>public interface MessageService {<br>}</pre><p>add service impl</p><pre>package com.ergulcu.kafkaconsumer.service.impl;<br><br>import com.ergulcu.kafkaconsumer.service.MessageService;<br>import lombok.RequiredArgsConstructor;<br>import org.springframework.kafka.annotation.KafkaListener;<br>import org.springframework.stereotype.Service;<br><br>@Service<br>@RequiredArgsConstructor<br>public class MessageServiceImpl implements MessageService {<br>    @KafkaListener(topics = &quot;TestTopic&quot;,groupId = &quot;TestGroup&quot;)<br>    public void listenGroupFoo(String message) {<br>        System.out.println(&quot;Received Message from TestTopic:&quot; + message);<br>    }<br><br>}</pre><p>send message to producer with postman</p><p><strong>endpoint</strong>: localhost:8787/message</p><p><strong>request body</strong>: testing message <em>{{$randomWord}} {{$isoTimestamp}}</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qn9Ux09jBQoOlLk90yO2BQ.png" /></figure><p>see messages on consumer console</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1003/1*3D52xgpib6JK4sHl3KAHLA.png" /></figure><p>ready to run projects if you want to try directly</p><p><a href="https://github.com/ergulcu/kafkaconsumer">https://github.com/ergulcu/kafkaconsumer</a></p><p><a href="https://github.com/ergulcu/kafkaproducer">https://github.com/ergulcu/kafkaproducer</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f72587116a80" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Kafka with KafkaUI to test kafka listener localy]]></title>
            <link>https://ergulcu.medium.com/kafka-with-kafkaui-to-test-kafka-listener-localy-65e3d556854b?source=rss-2d26bd41aab0------2</link>
            <guid isPermaLink="false">https://medium.com/p/65e3d556854b</guid>
            <dc:creator><![CDATA[Mehmet ERGÜLCÜ]]></dc:creator>
            <pubDate>Mon, 05 Aug 2024 21:57:36 GMT</pubDate>
            <atom:updated>2025-01-27T17:58:47.478Z</atom:updated>
            <content:encoded><![CDATA[<p>create kafkawithkafkauidockercompose.yml with following content</p><pre>services:<br>  kafka:<br>    image: apache/kafka-native:3.9.0<br>    ports:<br>      - &quot;9092:9092&quot;<br>    environment:<br>      # Configure listeners for both docker and host communication<br>      KAFKA_LISTENERS: CONTROLLER://localhost:9091,HOST://0.0.0.0:9092,DOCKER://0.0.0.0:9093<br>      KAFKA_ADVERTISED_LISTENERS: HOST://localhost:9092,DOCKER://kafka:9093<br>      KAFKA_LISTENER_SECURITY_PROTOCOL_MAP: CONTROLLER:PLAINTEXT,DOCKER:PLAINTEXT,HOST:PLAINTEXT<br><br>      # Settings required for KRaft mode<br>      KAFKA_NODE_ID: 1<br>      KAFKA_PROCESS_ROLES: broker,controller<br>      KAFKA_CONTROLLER_LISTENER_NAMES: CONTROLLER<br>      KAFKA_CONTROLLER_QUORUM_VOTERS: 1@localhost:9091<br><br>      # Listener to use for broker-to-broker communication<br>      KAFKA_INTER_BROKER_LISTENER_NAME: DOCKER<br><br>      # Required for a single node cluster<br>      KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR: 1<br>  kafka-ui:<br>    image: ghcr.io/kafbat/kafka-ui:v1.0.0<br>    ports:<br>      - 8080:8080<br>    environment:<br>      DYNAMIC_CONFIG_ENABLED: &quot;true&quot;<br>      KAFKA_CLUSTERS_0_NAME: local<br>      KAFKA_CLUSTERS_0_BOOTSTRAPSERVERS: kafka:9093<br>    depends_on:<br>      - kafka</pre><p>Start compose file with following command.</p><pre>docker compose -f kafkawithkafkauidockercompose.yml up</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*muVvRfx16nJsg04Jo1DWwg.png" /></figure><p>Open <strong>http://localhost:8080</strong> in you browser</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*w87aLSoQwKVK1gEu78WlFw.png" /></figure><p>to manage topics click on topics. we will see list of topics and add a topic button. In this topic list we also have <strong>number of messages </strong>column to see waiting to consume messages count.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wGyaBuE-he0drDlmKW2vYw.png" /></figure><p>To see messages or produce a new message click on topic at the list</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LWB4L8w-UL9ctayJnCYsQA.png" /></figure><p>You will see the detailed topic page</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MTKQ0i7cZBAdjE8dwMYCOQ.png" /></figure><p>On messages tab you can see messages for this topic. But sometimes messages can not be loaded</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*C2sHfqun0DGoeTBroOTOCg.png" /></figure><p>You can try again and again with cancel and submit button. Then you will see result of listed messages</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*w91HGlhZVH6Iz62fKMQ9vA.png" /></figure><p>If you want to produce a new message click on produce message button.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GGEkiDqdvgxAgaiOX4-HzQ.png" /></figure><p>Type key and value of message</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QBt-v45v112ztQPiGlV-MQ.png" /></figure><p>Then click produce message button</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YyxHPTIPRZ95troSgvEfqw.png" /></figure><p>You will see new message in messages list</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rA3wTO8EMeJ25x-Mf104tQ.png" /></figure><p>you can connect as a consumer to localhost:9092</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=65e3d556854b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Dynamic Filtering Spring JpaRepository]]></title>
            <link>https://ergulcu.medium.com/dynamic-filtering-spring-jparepository-91fee8bda20c?source=rss-2d26bd41aab0------2</link>
            <guid isPermaLink="false">https://medium.com/p/91fee8bda20c</guid>
            <category><![CDATA[spring-boot]]></category>
            <category><![CDATA[dynamic-filters]]></category>
            <dc:creator><![CDATA[Mehmet ERGÜLCÜ]]></dc:creator>
            <pubDate>Fri, 02 Feb 2024 19:31:04 GMT</pubDate>
            <atom:updated>2024-08-11T20:21:18.494Z</atom:updated>
            <content:encoded><![CDATA[<p>To filter data dynamicaly on JPA repository Example type will be helpfull.</p><p>we create default JpaRepository</p><pre>public interface ProductRepository extends JpaRepository&lt;ProductEntity,Long&gt; {<br>}</pre><p>magic is starting here when calling jpa repository default method findAll(Example&lt;S&gt; example). This method filters data by filled values of entity class(here productEntity)</p><pre>productRepository.findAll(Example.of(productEntity));</pre><p>example repository for call filter by name equals “phone” products</p><pre>ProductEntity productEntity = new ProductEntity();<br>productEntity.setName(&quot;phone&quot;)<br>productRepository.findAll(Example.of(productEntity));</pre><p>example repository for call filter by type equals “clothes” products</p><pre>ProductEntity productEntity = new ProductEntity();<br>productEntity.setType(&quot;clothes&quot;)<br>productRepository.findAll(Example.of(productEntity));</pre><p>example repository for call all products(no filter)</p><pre>ProductEntity productEntity = new ProductEntity();<br>productRepository.findAll(Example.of(productEntity));</pre><p>Controller for dynamic input from rest request</p><p>this controller can handle data from request parameters</p><p>Examples: <a href="http://localhost:8080/productlist/byfilter?name=phone">byfilter?name=phone</a>, <a href="http://localhost:8080/productlist/byfilter?type=clothes">byfilter?type=clothes</a></p><pre>@RestController<br>@RequiredArgsConstructor<br>public class ProductController {<br>    private final ProductService productService;<br><br>    @GetMapping(&quot;/productlist/byfilter&quot;)<br>    public List&lt;ProductEntity&gt; getProductListByFilter(ProductEntity productEntity) {<br>        return productService.getProductListByFilter(productEntity);<br>    }<br>}</pre><p>Service for dynamic input from rest request</p><pre>@Service<br>@RequiredArgsConstructor<br>public class ProductServiceImpl implements ProductService{<br>    private final ProductRepository productRepository;<br>    @Override<br>    public List&lt;ProductEntity&gt; getProductListByFilter(ProductEntity productEntity) {<br>        return productRepository.findAll(Example.of(productEntity));<br>    }<br>}</pre><p>Example project to try is here</p><p><a href="https://github.com/ergulcu/exampledynamicquery">GitHub - ergulcu/exampledynamicquery</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-64N0dVpwGGpY8lcVVBpag.png" /></figure><p>example requests for project. Example data auto initialize on start by InitTestData class</p><p>GET: <a href="http://localhost:8080/productlist/byfilter">http://localhost:8080/productlist/byfilter</a></p><p>GET: <a href="http://localhost:8080/productlist/byfilter?name=phone">http://localhost:8080/productlist/byfilter?name=phone</a></p><p>GET: <a href="http://localhost:8080/productlist/byfilter?type=clothes">http://localhost:8080/productlist/byfilter?type=clothes</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=91fee8bda20c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Extremly Fast Way For Table Row Counts Sql Server Database]]></title>
            <link>https://ergulcu.medium.com/extremly-fast-way-for-table-row-counts-sql-server-database-7825b665f726?source=rss-2d26bd41aab0------2</link>
            <guid isPermaLink="false">https://medium.com/p/7825b665f726</guid>
            <category><![CDATA[sql-server]]></category>
            <category><![CDATA[tips]]></category>
            <dc:creator><![CDATA[Mehmet ERGÜLCÜ]]></dc:creator>
            <pubDate>Wed, 24 Mar 2021 19:13:42 GMT</pubDate>
            <atom:updated>2024-08-11T20:09:52.112Z</atom:updated>
            <content:encoded><![CDATA[<p>Selected Database Row Count Calculation over sys.dm_db_partition_stats</p><pre>SELECT <br>SCHEMA_NAME(o.schema_id) as schemaname<br>,o.name<br>,ddps.row_count<br>FROM sys.indexes AS i<br>  INNER JOIN sys.objects AS o ON i.OBJECT_ID = o.OBJECT_ID<br>  INNER JOIN sys.dm_db_partition_stats AS ddps ON i.OBJECT_ID = ddps.OBJECT_ID<br>  AND i.index_id = ddps.index_id <br>WHERE i.index_id &lt; 2  AND o.is_ms_shipped = 0 <br>ORDER BY ddps.row_count desc</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7825b665f726" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>